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

14 lines
385 B
JavaScript
Raw Permalink Normal View History

2022-06-28 16:39:30 +08:00
define(['./underscore'], function (underscore) {
// 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
};
return templateSettings;
});