PHP 8.2.30
Preview: templateSettings.js Size: 1.36 KB
//opt/alt/alt-nodejs9/root/lib/node_modules/npm/node_modules/cli-table2/node_modules/lodash/string/templateSettings.js

var escape = require('./escape'),
    reEscape = require('../internal/reEscape'),
    reEvaluate = require('../internal/reEvaluate'),
    reInterpolate = require('../internal/reInterpolate');

/**
 * By default, the template delimiters used by lodash are like those in
 * embedded Ruby (ERB). Change the following template settings to use
 * alternative delimiters.
 *
 * @static
 * @memberOf _
 * @type Object
 */
var templateSettings = {

  /**
   * Used to detect `data` property values to be HTML-escaped.
   *
   * @memberOf _.templateSettings
   * @type RegExp
   */
  'escape': reEscape,

  /**
   * Used to detect code to be evaluated.
   *
   * @memberOf _.templateSettings
   * @type RegExp
   */
  'evaluate': reEvaluate,

  /**
   * Used to detect `data` property values to inject.
   *
   * @memberOf _.templateSettings
   * @type RegExp
   */
  'interpolate': reInterpolate,

  /**
   * Used to reference the data object in the template text.
   *
   * @memberOf _.templateSettings
   * @type string
   */
  'variable': '',

  /**
   * Used to import variables into the compiled template.
   *
   * @memberOf _.templateSettings
   * @type Object
   */
  'imports': {

    /**
     * A reference to the `lodash` function.
     *
     * @memberOf _.templateSettings.imports
     * @type Function
     */
    '_': { 'escape': escape }
  }
};

module.exports = templateSettings;

Directory Contents

Dirs: 0 × Files: 23

Name Size Perms Modified Actions
680 B lrw-r--r-- 2021-09-28 11:28:35
Edit Download
494 B lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.06 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.05 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.84 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.11 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
649 B lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.28 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
654 B lrw-r--r-- 2021-09-28 11:28:35
Edit Download
664 B lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.50 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.07 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
626 B lrw-r--r-- 2021-09-28 11:28:35
Edit Download
690 B lrw-r--r-- 2021-09-28 11:28:35
Edit Download
974 B lrw-r--r-- 2021-09-28 11:28:35
Edit Download
8.89 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.36 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.32 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.05 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.08 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
3.18 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.06 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download
1.16 KB lrw-r--r-- 2021-09-28 11:28:35
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).