Skip to content

Instantly share code, notes, and snippets.

@houoop
Created May 7, 2013 09:30
Show Gist options
  • Save houoop/5531409 to your computer and use it in GitHub Desktop.
Save houoop/5531409 to your computer and use it in GitHub Desktop.
underscore template for rails
_.templateSettings = {
interpolate: /\{\{\=(.+?)\}\}/g,
evaluate: /\{\{(.+?)\}\}/g
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment