Dependency Management Got Awesome
CommonJS and AMD Compliant dependency loader for modern web apps
require.run
0.7.x
require.run('moduleName');
A simple way to invoke a module, where you’re not interested in its outcome or exports. This is useful for launching a program, and is shorthand for
require.ensure(['moduleName'], function () {});
- CommonJS Interface
- AMD Interface
- The Inject API
- Inject.addContentRule
- Inject.addFetchRule
- Inject.addFileRule
- Inject.addModuleRule
- Inject.addPackage
- Inject.createContext
- Inject.disableAMD
- Inject.disableSourceUrls
- Inject.disableSuffixes
- Inject.enableAMD
- Inject.enableSourceUrls
- Inject.enableSuffixes
- Inject.reset
- Inject.setCacheKey
- Inject.setCrossDomain
- Inject.setExpires
- Inject.setModuleRoot
- require.run
- How To and Tutorials