From 5f466137ad6ac596600e3ff53c9b786815398445 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 27 May 2017 17:36:13 +0200 Subject: node_modules, clean up package.json --- node_modules/core-js/modules/es6.string.raw.js | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'node_modules/core-js/modules/es6.string.raw.js') diff --git a/node_modules/core-js/modules/es6.string.raw.js b/node_modules/core-js/modules/es6.string.raw.js index 64279d23d..1016acfa2 100644 --- a/node_modules/core-js/modules/es6.string.raw.js +++ b/node_modules/core-js/modules/es6.string.raw.js @@ -1,19 +1,18 @@ -var $export = require('./$.export') - , toIObject = require('./$.to-iobject') - , toLength = require('./$.to-length'); +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; + var tpl = toIObject(callSite.raw) + , len = toLength(tpl.length) + , aLen = arguments.length + , res = [] + , i = 0; while(len > i){ res.push(String(tpl[i++])); - if(i < $$len)res.push(String($$[i])); + if(i < aLen)res.push(String(arguments[i])); } return res.join(''); } }); \ No newline at end of file -- cgit v1.2.3