Skip to content

Instantly share code, notes, and snippets.

@josephmisiti
Forked from ruudud/gist:1922646
Created May 1, 2014 20:52
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 josephmisiti/00f42bcbc5f3d499ee22 to your computer and use it in GitHub Desktop.
Save josephmisiti/00f42bcbc5f3d499ee22 to your computer and use it in GitHub Desktop.
// Ovveride Underscore.js' template format
_.templateSettings = {
evaluate: /\{%([\s\S]+?)%\}/g,
interpolate: /\{\{(.+?)\}\}/g
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment