• 文档首页
  • HTML
  • CSS
  • Javascript
  • Python
  • jQuery
  • NodeJS
  • PHP
  • Java
  • MySQL
  • Express
  • More ?

Require.js

Configuration Options

  • baseUrl
  • bundles
  • callback
  • config
  • context
  • deps
  • enforceDefine
  • map
  • nodeIdCompat
  • packages
  • paths
  • scriptType
  • shim
  • skipDataMain
  • urlArgs
  • waitSeconds
  • xhtml
  • Advanced Usage

  • Catching load failures in IE
  • Global requirejs.onError function
  • Handling Errors
  • Loading Code After Page Load
  • Loading Modules from Packages
  • Multiversion Support
  • Nashorn Support
  • paths config fallbacks
  • require([]) errbacks
  • Rhino Support
  • Web Worker Support
  • Usage

  • Circular Dependencies
  • data-main Entry Point
  • Define a Module
  • Define a Module as a Function
  • Define a Module with a Name
  • Define a Module with Simplified CommonJS Wrapper
  • Definition Functions
  • Definition Functions with Dependencies
  • Load JavaScript Files
  • Other Module Notes
  • Simple Name/Value Pairs
  • Specify a JSONP Service Dependency
  • Undefining a Module
  • Guides

  • Common Errors
  • CommonJS Notes
  • How to use RequireJS with Dojo
  • How to use RequireJS with jQuery
  • Plugins
  • RequireJS in Node
  • RequireJS Optimizer
  • Why AMD?
  • Why Web Modules?
  • Loader Plugins

  • Define an I18N Bundle
  • Page Load Event Support/DOM Ready
  • Specify a Text File Dependency
  • Index

  • index
  • Copyright©2023  编程论坛编程论坛| 浙ICP备2024059924号-1|

    违法和不良信息举报电话:|举报邮箱:569242693@qq.com