2 * lodash 3.1.1 (Custom Build) <https://lodash.com/>
3 * Build: `lodash modularize exports="npm" -o ./`
4 * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
5 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
6 * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
7 * Available under MIT license <https://lodash.com/license>
9 var escape = require('lodash.escape'),
10 reInterpolate = require('lodash._reinterpolate');
12 /** Used to match template delimiters. */
13 var reEscape = /<%-([\s\S]+?)%>/g,
14 reEvaluate = /<%([\s\S]+?)%>/g;
17 * By default, the template delimiters used by lodash are like those in
18 * embedded Ruby (ERB). Change the following template settings to use
19 * alternative delimiters.
25 var templateSettings = {
28 * Used to detect `data` property values to be HTML-escaped.
30 * @memberOf _.templateSettings
36 * Used to detect code to be evaluated.
38 * @memberOf _.templateSettings
41 'evaluate': reEvaluate,
44 * Used to detect `data` property values to inject.
46 * @memberOf _.templateSettings
49 'interpolate': reInterpolate,
52 * Used to reference the data object in the template text.
54 * @memberOf _.templateSettings
60 * Used to import variables into the compiled template.
62 * @memberOf _.templateSettings
68 * A reference to the `lodash` function.
70 * @memberOf _.templateSettings.imports
73 '_': { 'escape': escape }
77 module.exports = templateSettings;