source: frontend/node_modules/underscore/amd/templateSettings.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 385 bytes
Line 
1define(['./underscore'], function (underscore) {
2
3 // By default, Underscore uses ERB-style template delimiters. Change the
4 // following template settings to use alternative delimiters.
5 var templateSettings = underscore.templateSettings = {
6 evaluate: /<%([\s\S]+?)%>/g,
7 interpolate: /<%=([\s\S]+?)%>/g,
8 escape: /<%-([\s\S]+?)%>/g
9 };
10
11 return templateSettings;
12
13});
Note: See TracBrowser for help on using the repository browser.