jQuery is great especially its plugin but I do not like to add a lot of script tags in my html. Is there something similar to dojo.require? So I can manage those plugins easier and cleaner.
+3
A:
jQuery.require does not exist in 1.4, it was in an commit to the tree while 1.4 was being developed but removed before the final release.
RequireJS is a loader that has given special care to work with jQuery. It has its roots in the dojo.require, but it follows CommonJS idioms and optimized for in-browser use.
Disclaimer, I am the main developer of RequireJS.
jrburke
2010-06-08 16:31:11