Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 501 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 501 Bytes

jQuery-browserify

packaged for use with node-browserify.

Just add it to your browserify require list and use it!

var $ = require('jquery-browserify')
$("img[attr$='png']").hide()

If you are using browserify >= 0.4.7 you can map it to 'jquery' for convenience, thanks substack!

browserify({
  require : { jquery : 'jquery-browserify' }
});

then it's just var something = require('jquery') in the browser