frontend-labs / yosonjs

A lightweight library for managing modular scripts
MIT License
20 stars 9 forks source link
javascript-library modularity

![Stories in Progress](https://badge.waffle.io/frontend-labs/yosonjs.png?label=in progress&title=In Progress)

yOSONJS

A Sandbox library in JavaScript for manage modular scripts

Build Status Coverage Status

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');