on.js Wiki
Integrated Performance Environment Library (client-side JavaScript)
Brought to you by:
clayendisk
asynchronous javascript and xml
Ajax
Loading/Executing external JavaScript should be simple and universal, on.js makes everything possible in one easy step.
('load script')[on]("../the-script-file.js")
( function() //the function to be executed after the script file has loaded
{
}
);
('load module')[on]("../the-module-file.js")
( function() //the function to be executed after the script file has loaded
{
this; //the public scope of the module (access to global)
any_variable; //any variable in the global scope
}
);
('load module')[on]("../the-module-file.js")
( function(private) //the function to be executed after the script file has loaded
{
this; //the private scope of the module (no access to global)
any_variable; //any variable in the private scope of the module
}
);
return true;
A JavaScript Library