1 var escape = require('./escape'),
2 reEscape = require('./_reEscape'),
3 reEvaluate = require('./_reEvaluate'),
4 reInterpolate = require('./_reInterpolate');
7 * By default, the template delimiters used by lodash are like those in
8 * embedded Ruby (ERB). Change the following template settings to use
9 * alternative delimiters.
15 var templateSettings = {
18 * Used to detect `data` property values to be HTML-escaped.
20 * @memberOf _.templateSettings
26 * Used to detect code to be evaluated.
28 * @memberOf _.templateSettings
31 'evaluate': reEvaluate,
34 * Used to detect `data` property values to inject.
36 * @memberOf _.templateSettings
39 'interpolate': reInterpolate,
42 * Used to reference the data object in the template text.
44 * @memberOf _.templateSettings
50 * Used to import variables into the compiled template.
52 * @memberOf _.templateSettings
58 * A reference to the `lodash` function.
60 * @memberOf _.templateSettings.imports
63 '_': { 'escape': escape }
67 module.exports = templateSettings;