Hacker News new | ask | show | jobs
by shtylman 4516 days 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.
2 comments

Personally, 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.
So 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.
There is, it is called browserify and npm :)
Snarkiness and sarcasm aren't the best way to get people to take your arguments seriously.
I wasn't being snarky, I was making playful jokes :P