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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With