Files
lynchmark/tests/4_transpiler/outputs/moonshotai_kimi-k2-thinking.js
2025-11-27 19:36:55 +00:00

12 lines
334 B
JavaScript

let hb;
export const renderTemplate=async(t,d)=>{
try{
hb??=(await import('https://cdn.jsdelivr.net/npm/handlebars@4.7.8/dist/handlebars.mjs')).default;
return hb.compile(t)(d);
}catch(e){
throw new Error(`Render failed: ${e.message}`);
}
};
export default renderTemplate;
// Generation time: 50.722s
// Result: FAIL