Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 19 lines (14 sloc) 0.501 kB
8b8d487 @jmars being pedantic
authored
1 # jQuery-browserify
cffb572 @jmars readme
authored
2 ## packaged for use with [node-browserify](https://github.com/substack/node-browserify).
cf16683 @jmars 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 @jmars readme
authored
5
6 ````javascript
7 var $ = require('jquery-browserify')
7fc9d56 fix typo, closes #6
Jaye Marshall authored
8 $("img[attr$='png']").hide()
cffb572 @jmars 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.