// 3. Compile a DOM element from the template and data function compileTemplate() { var html = template(data); content = parseHTML(html); ready(); }
// 3. Compile a DOM element from the template and data function compileTemplate(ctx) { console.log('fiche compileTemplate', data) var html = template(data); content = parseHTML(html); ready(ctx); }