No Description

templateSettings.js 385B

12345678910111213
  1. define(['./underscore'], function (underscore) {
  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. return templateSettings;
  10. });