Conversation
If you really want to use `jquery-browserify` (useless IMO), just map `jquery` to `jquery-browserify` using Browserify's `require`. Build tools should not interfere with code.
|
I was about to make this PR myself :) Love this plugin! If you merge this PR to improve the UMD wrapper, it would make it a tad cleaner to use in a CommonJS environment |
|
Not sure about that... In jQuery Core if you use Browserify Wouldn't a similar approach work here? |
|
Bumping this! |
|
My comment from #127 (comment) still stands; in my opinion, it'd be better to duplicate the jQuery wrapper. @dmethvin what do you think? |
|
I've changed my opinion here - and in jQuery 4.0 we expose the factory APIs via a separate entry point - but I'll just do this as part of jQuery Mousewheel 4.0 changes. Thanks! |
If you really want to use
jquery-browserify,just map
jquerytojquery-browserifyusing Browserify'srequire.Build tools should not interfere with code.