index.js
function(name, setup){
        if(!isObject(setup) || this.templates[name]) return false;

        this.templates[name] = setup;
    }
function(name, setup){
        if(!isObject(setup) || this.templates[name]) return false;

        this.templates[name] = setup;
    }
function ( name , setup ) { if ( ! isObject ( setup ) || this . templates [ name ] ) return false ; this . templates [ name ] = setup ; }
Set a new template
Set a new template