Skip to content

Commit

Permalink
Remove browserify test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmethvin committed Aug 18, 2019
1 parent f7d64c7 commit 4a707c2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 9,510 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.DS_Store
/npm-debug.log
/node_modules
/test/browserify/node_modules
28 changes: 0 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,34 +47,6 @@ event property to find the scroll distance the browser reported.
The `deltaFactor` property was added to the event object in 3.1.5 so that the actual reported delta value can be
extracted. This is a non-standard property.


## Using with [Browserify](http://browserify.org)

Support for browserify is baked in.

```bash
npm install jquery-mousewheel
npm install jquery-browserify
```

In your server-side node.js code:

```js
var express = require('express');
var app = express.createServer();

app.use(require('browserify')({
require : [ 'jquery-browserify', 'jquery-mousewheel' ]
}));
```

In your browser-side javascript:

```js
var $ = require('jquery-browserify');
require('jquery-mousewheel')($);
```

## Building the code in the repo

```sh
Expand Down
15 changes: 0 additions & 15 deletions test/browserify/README.md

This file was deleted.

Loading

0 comments on commit 4a707c2

Please sign in to comment.