4 ms·
jQuery is actually one of the nicer javascript libraries. - knows what it is, i.e. a web javascript module, it doesn't try to inappropriately wrap itself in Co
by infinity0 8y ago
jQuery is actually one of the nicer javascript libraries.
- knows what it is, i.e. a web javascript module, it doesn't try to inappropriately wrap itself in CommonJS/AMDJS wrappers
- doesn't need node/npm to run
- doesn't need node/npm to build
- maaaats 8y agoHowever, it would be nice if I could include the parts I wanna use. Similar to lodash/underscore. Now it's either full jQuery or nothing.
- ino 8y agoYou can do that by building it with only the modules you want: https://github.com/jquery/jquery/blob/master/README.md https://github.com/jquery/jquery/blob/master/README.md There's also an official slim build without ajax and effect modules.