Hubwiz.com
|
Online Course
|
API Manual
RequireJS API Manual
Guide(28)
Guide
Usage
Load JavaScript Files
data-main Entry Point
Define a Module
Simple Name/Value Pairs
Definition Functions
Definition Functions with Dependencies
Define a Module as a Function
Define a Module with Simplified CommonJS Wrapper
Define a Module with a name
Other Module Notes
Circular Dependencies
Specify a JSONP Service Dependency
Undefining a Module
Mechanics
Configuration Options
Advanced Usage
Loading Modules from Packages
Multiversion Support
Loading Code After Page Load
Web Worker Support
Rhino Support
Nashorn Support
Handling Errors
Loader Plugins
Specify a Text File Dependency
Page Load Event Support/DOM Ready
Define an I18N Bundle