Skip to content

Instantly share code, notes, and snippets.

@olivier-schmitt
Created March 8, 2013 17:46
Show Gist options
  • Save olivier-schmitt/5118322 to your computer and use it in GitHub Desktop.
Save olivier-schmitt/5118322 to your computer and use it in GitHub Desktop.
New template settings JSP/JSP compliant
_.templateSettings = {
interpolate: /\{\{(.+?)\}\}/gim,
evaluate: /\{\{(.+?)\}\}/gim,
escape: /\{\{\-(.+?)\}\}/gim
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment