Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

LMD: Lazy Module Declaration Examples

New to LMD? See Getting Started or Wiki.

Demo applications

Examples that covers all LMD features

  • Adaptation - Adapting non-modules. Plain JavaScript, AMD, etc
  • Sandbox - 3-party modules isolation example
  • Glob - Declare many similar modules with only 1 expression!
  • And more...

Examples that covers all LMD plugins

  • Cache - transparent localStorage cache for all modules
  • Promise - using Promises instead of callback to handle module loading
  • Match - use require.match(/Pattern/) to grep all modules that you need
  • And more...

Hint You can try all examples live! Just add http://azproduction.github.io/lmd/ to example path examples/demos/backbone_lmd/ = http://azproduction.github.io/lmd/examples/demos/backbone_lmd/