Skip to content

drakos74/Queue.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Queue.js

asynchronous module loading controller for javascript projects

Instructions:

  • As seen in the example , every module to be loaded in the routine must create a global variable with it's name. To connect modules, as in '/_examples/module_4.js' , module content must be enclosed in a closure and reference the variables name (see Queue.js lines 51-53). All module names and paths must be contained in the Sources object (/examples/_index.js)

  • _server.js is a dummy static server for testing locally (you will need node.js)

  • /_examples folder holds a working example

  • 'index.html' and '/examples/index.html' accomplish the same thing . This demonstrates the "path independence" property of the main routine in loading scripts

-- open the console to inspect exactly what is happening in the example.

-- tested on Chrome and Firefox

About

asynchronous module loading controller for javascript projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published