Basically curl.js allows the developer to control the script loading process.
Works with AMD and non-AMD compliant JavaScript files.
Here are some key features of "curl (cujo resource loader)":
· Loads CommonJS AMD-formatted JavaScript modules in parallel
· Loads CommonJS Modules (v1.1 when wrapped in a define())
· Loads CommonJS Packages (v1.1 modules wrapped in a define())
· Loads non-AMD JavaScript files in parallel, too
· Loads CSS files and text files in parallel
· Waits for dependencies (JS, CSS, text, etc) before executing JavaScript
· Waits for domReady, if/when desired
· Allows for virtually limitless combinations of files and dependencies
· Tested with Chrome, FF3+, Safari 3.2+, IE6-8, Opera 9.5+
Requirements:
· JavaScript enabled on client side
What's New in This Release: [ read full changelog ]
· curl no longer repeatedly downloads modules that don't return any value (bug introduced in 0.6 refactor).