File bindings/s2/require.d/plugins/tmpl-compiled.s2 artifact 0618ae2cf3 part of check-in 1c6aeaf5ce
/** Works like the tmpl plugin, but passes the file's contents throughs s2.tmpl() before returning it. */ return { cacheIt: false, // prefix: uses the defaults suffix: ['.tmpl'], load: proc(fn){ return s2.tmpl(s2.Buffer.readFile(fn)) } };