dist/lib/build.js
function compile(content, data) {
    return content.replace(/\${(\w+)}/gi, function (match, name) {
        return data[name] ? data[name] : '';
    });
}
function compile(content, data) {
    return content.replace(/\${(\w+)}/gi, function (match, name) {
        return data[name] ? data[name] : '';
    });
}
function compile ( content , data ) { return content . replace ( / \${(\w+)} / gi , function ( match , name ) { return data [ name ] ? data [ name ] : '' ; } ) ; }
simple template compile
simple template compile