Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 19 lines (14 sloc) 0.501 kb
8b8d487 Jaye Marshall being pedantic
authored
1 # jQuery-browserify
cffb572 Jaye Marshall readme
authored
2 ## packaged for use with [node-browserify](https://github.com/substack/node-browserify).
cf16683 Jaye Marshall add homepage URL and repo, very simple readme, more accurate description
authored
3
4 Just add it to your browserify require list and use it!
cffb572 Jaye Marshall readme
authored
5
6 ````javascript
7 var $ = require('jquery-browserify')
7fc9d56 fix typo, closes #6
Jaye Marshall authored
8 $("img[attr$='png']").hide()
cffb572 Jaye Marshall readme
authored
9 ````
10
11 If you are using browserify >= 0.4.7 you can map it to 'jquery' for convenience, thanks substack!
12
13 ````javascript
14 browserify({
15 require : { jquery : 'jquery-browserify' }
16 });
17 ````
18
19 then it's just `var something = require('jquery')` in the browser
Something went wrong with that request. Please try again.