setup-maven/node_modules/underscore/amd/templateSettings.js
2022-06-28 10:39:30 +02:00

14 lines
385 B
JavaScript

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;
});