src/ConfigParser/ConfigParser.js
function(name, spec){
        if(!name) return;
        var el = et.Element('engine');
        el.attrib.name = name;
        if(spec){
            el.attrib.spec = spec;
        }
        this.doc.getroot().append(el);
    }
function(name, spec){
        if(!name) return;
        var el = et.Element('engine');
        el.attrib.name = name;
        if(spec){
            el.attrib.spec = spec;
        }
        this.doc.getroot().append(el);
    }
function ( name , spec ) { if ( ! name ) return ; var el = et . Element ( 'engine' ) ; el . attrib . name = name ; if ( spec ) { el . attrib . spec = spec ; } this . doc . getroot ( ) . append ( el ) ; }
Adds an engine. Does not check for duplicates.
@param  {String} name the engine name
@param  {String} spec engine source location or version (optional)
Adds an engine . Does not check for duplicates .