templateSettings.js 370 B

1234567891011
  1. var underscore = require('./underscore.js');
  2. // By default, Underscore uses ERB-style template delimiters. Change the
  3. // following template settings to use alternative delimiters.
  4. var templateSettings = underscore.templateSettings = {
  5. evaluate: /<%([\s\S]+?)%>/g,
  6. interpolate: /<%=([\s\S]+?)%>/g,
  7. escape: /<%-([\s\S]+?)%>/g
  8. };
  9. module.exports = templateSettings;