Skip to content

Instantly share code, notes, and snippets.

@qcom
Created August 15, 2012 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qcom/3362929 to your computer and use it in GitHub Desktop.
Save qcom/3362929 to your computer and use it in GitHub Desktop.
jade locals fail
// y u no work
var jade = require('jade');
var fn = jade.compile("h1 #{myTitle}", {
locals: {
myTitle: 'kittens'
}
});
console.log(fn());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment