yOSONJS
A Sandbox library in JavaScript for manage modular scripts
A little example
Insert in your html file or proyect the js called yoson.js o the minified version.
Then Create a Module
yOSON.AppCore.addModule('nombre-modulo', function(){
return {
init: function(){
//some code
}
}
});
And Run the module
yOSON.AppCore.runModule('nombre-modulo');