setup-maven-cached/node_modules/underscore/cjs/templateSettings.js

12 lines
370 B
JavaScript
Raw Normal View History

2022-06-28 16:39:30 +08:00
var underscore = require('./underscore.js');
// By default, Underscore uses ERB-style template delimiters. Change the
// following template settings to use alternative delimiters.
var templateSettings = underscore.templateSettings = {
evaluate: /<%([\s\S]+?)%>/g,
interpolate: /<%=([\s\S]+?)%>/g,
escape: /<%-([\s\S]+?)%>/g
};
module.exports = templateSettings;