mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
19
react-app/node_modules/core-js/modules/es6.string.raw.js
generated
vendored
Normal file
19
react-app/node_modules/core-js/modules/es6.string.raw.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
var $export = require('./$.export')
|
||||
, toIObject = require('./$.to-iobject')
|
||||
, toLength = require('./$.to-length');
|
||||
|
||||
$export($export.S, 'String', {
|
||||
// 21.1.2.4 String.raw(callSite, ...substitutions)
|
||||
raw: function raw(callSite){
|
||||
var tpl = toIObject(callSite.raw)
|
||||
, len = toLength(tpl.length)
|
||||
, $$ = arguments
|
||||
, $$len = $$.length
|
||||
, res = []
|
||||
, i = 0;
|
||||
while(len > i){
|
||||
res.push(String(tpl[i++]));
|
||||
if(i < $$len)res.push(String($$[i]));
|
||||
} return res.join('');
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user