6 ms·
As long as every jquery plugin and other code that depends on jquery continues to require all of jquery, all this module stuff is useless. I am sure it helps yo
by shtylman 13y ago
As long as every jquery plugin and other code that depends on jquery continues to require all of jquery, all this module stuff is useless. I am sure it helps you organize jquery Dev but it still doesn't help actually define real dependencies on a per component basis.
- siddboots 13y agoSo just ship your code along with the specific jQuery modules that you want to use. The fact that there isn't a better way to do this is a fault of javascript, not a fault of jQuery.
- crugej 13y agoThere is, it is called browserify and npm :)
- rwaldron 13y agoSo... browserify is like http://static1.wikia.nocookie.net/__cb20131111220942/harrypotter/images/5/53/Harry_potter.jpg http://static1.wikia.nocookie.net/__cb20131111220942/harrypo...?
- underwater 13y agoSnarkiness and sarcasm aren't the best way to get people to take your arguments seriously.
- rwaldron 13y agoI wasn't being snarky, I was making playful jokes :P
- usingpond 13y agoPersonally, I don't think you can simultaneously use tons of plugins and also complain about being forced to include jQuery. If you don't have the time to roll your own, then you probably don't have the time to prototype Array ten times again for missing features in various clients.