tools/myna_mustache_expander.js
function expand(template, data) {
    if (template.indexOf("{{") >= 0) {
        let ast = myna.parsers.mustache(template);
        let lines = expandAst(ast, data);
        return lines.join("");
    } 
    else {
        return template;
    }
}
function expand(template, data) {
    if (template.indexOf("{{") >= 0) {
        let ast = myna.parsers.mustache(template);
        let lines = expandAst(ast, data);
        return lines.join("");
    } 
    else {
        return template;
    }
}
function expand ( template , data ) { if ( template . indexOf ( "{{" ) >= 0 ) { let ast = myna . parsers . mustache ( template ) ; let lines = expandAst ( ast , data ) ; return lines . join ( "" ) ; } else { return template ; } }
Expands text containing CTemplate delimiters "{{" using the data object
Expands text containing CTemplate delimiters {{ using the data object