mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
First support for md extensions; Package all needed dependencies in the repo
This commit is contained in:
18
Source/node_modules/core-js/modules/es6.string.raw.js
generated
vendored
Normal file
18
Source/node_modules/core-js/modules/es6.string.raw.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
var $export = require('./_export');
|
||||
var toIObject = require('./_to-iobject');
|
||||
var 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);
|
||||
var len = toLength(tpl.length);
|
||||
var aLen = arguments.length;
|
||||
var res = [];
|
||||
var i = 0;
|
||||
while (len > i) {
|
||||
res.push(String(tpl[i++]));
|
||||
if (i < aLen) res.push(String(arguments[i]));
|
||||
} return res.join('');
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user