Нема описа

templateSettings.js 305B

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