Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.4 KiB
68 lines
1.4 KiB
1 year ago
|
var escape = require('./escape'),
|
||
|
reEscape = require('./_reEscape'),
|
||
|
reEvaluate = require('./_reEvaluate'),
|
||
|
reInterpolate = require('./_reInterpolate');
|
||
|
|
||
|
/**
|
||
|
* By default, the template delimiters used by lodash are like those in
|
||
|
* embedded Ruby (ERB) as well as ES2015 template strings. 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;
|