source: frontend/node_modules/underscore/cjs/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: 370 bytes
Line 
1var underscore = require('./underscore.js');
2
3// By default, Underscore uses ERB-style template delimiters. Change the
4// following template settings to use alternative delimiters.
5var templateSettings = underscore.templateSettings = {
6 evaluate: /<%([\s\S]+?)%>/g,
7 interpolate: /<%=([\s\S]+?)%>/g,
8 escape: /<%-([\s\S]+?)%>/g
9};
10
11module.exports = templateSettings;
Note: See TracBrowser for help on using the repository browser.