react / wstein / node_modules / jest-cli / node_modules / lodash.template / node_modules / lodash.templatesettings / index.js
80677 views/**1* lodash 3.1.0 (Custom Build) <https://lodash.com/>2* Build: `lodash modern modularize exports="npm" -o ./`3* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>4* Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>5* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors6* Available under MIT license <https://lodash.com/license>7*/8var reInterpolate = require('lodash._reinterpolate'),9escape = require('lodash.escape');1011/** Used to match template delimiters. */12var reEscape = /<%-([\s\S]+?)%>/g,13reEvaluate = /<%([\s\S]+?)%>/g;1415/**16* By default, the template delimiters used by lodash are like those in17* embedded Ruby (ERB). Change the following template settings to use18* alternative delimiters.19*20* @static21* @memberOf _22* @type Object23*/24var templateSettings = {2526/**27* Used to detect `data` property values to be HTML-escaped.28*29* @memberOf _.templateSettings30* @type RegExp31*/32'escape': reEscape,3334/**35* Used to detect code to be evaluated.36*37* @memberOf _.templateSettings38* @type RegExp39*/40'evaluate': reEvaluate,4142/**43* Used to detect `data` property values to inject.44*45* @memberOf _.templateSettings46* @type RegExp47*/48'interpolate': reInterpolate,4950/**51* Used to reference the data object in the template text.52*53* @memberOf _.templateSettings54* @type string55*/56'variable': '',5758/**59* Used to import variables into the compiled template.60*61* @memberOf _.templateSettings62* @type Object63*/64'imports': {6566/**67* A reference to the `lodash` function.68*69* @memberOf _.templateSettings.imports70* @type Function71*/72'_': { 'escape': escape }73}74};7576module.exports = templateSettings;777879