File manager - Edit - /usr/local/lib/node_modules/bower/lib/node_modules/mout/src/string/interpolate.js
Back
define([ '../lang/toString', '../object/get' ], function(toString, get) { var stache = /\{\{([^\}]+)\}\}/g; //mustache-like /** * String interpolation */ function interpolate(template, replacements, syntax){ template = toString(template); var replaceFn = function(match, prop){ return toString( get(replacements, prop) ); }; return template.replace(syntax || stache, replaceFn); } return interpolate; });
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings