Moe-js v0.3

moe.compileFileSync

Synchronous version of the moe.compileFile function:

function moe.compileFileSync(filename, options)
  • filename is the file to compile
  • options - optional compile options (see below)
  • returns the compiled template, or throws an exception

Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.