My favorites | Sign in
Project Logo
                
Feeds:
People details
Project owners:
  laruence

this is a simple javascript file loader, this proviod to event to attach

  1. onReady
2. onLoad

example :

  var loader = Loader;
  loader.onReady = function(){
     alert('all file were loaded');
  }
    
  loader.on('load', function(name) {
      alert(name + ' loaded');
  });
  loader.load([
      'http://www.laruence.com/1.js',
      'http://www.laruence.com/test.js',
      'http://www.laruence.com/main.js'
    ]

Example Page Introduce Page









Hosted by Google Code