RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node.js. If you are using the require call that comes bundled with Node.js then you are NOT using RequireJS. Please do not use this tag for such cases. Use the require tag instead.
RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node.js. If you are using the require
call that comes bundled with Node.js then you are not using RequireJS. Please do not use this tag for such cases. Use the require tag instead.
It uses the Asynchronous Module Definition (AMD) API and also supports loader plugins.
Browser Support
- Internet Explorer 6+
- Firefox 2+
- Safari 3.2+
- Chrome 3+
- Opera 10+
Links: