Re:You will probably need jQuery
by rwaldron on Thursday January 30, 2014 @06:10PM
(#7154021)
OMG, you should file a ticket for jQuery core to implement some kind of system for breaking up the source into modules!! Here's a link: https://github.com/jquery/jquery#modules
[ Parent
| on HN ]
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.
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 :)
So... browserify is like http://static1.wikia.nocookie.net/__cb20131111220942/harrypo...?
Re:You will probably need jQuery
by underwater on Friday January 31, 2014 @08:14AM
(#7156472)
Snarkiness and sarcasm aren't the best way to get people to take your arguments seriously.