diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-27 17:36:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-27 17:36:13 +0200 |
commit | 5f466137ad6ac596600e3ff53c9b786815398445 (patch) | |
tree | f914c221874f0b16bf3def7ac01d59d1a99a3b0b /node_modules/core-js/modules/$.partial.js | |
parent | c9f5ac8e763eda19aa0564179300cfff76785435 (diff) |
node_modules, clean up package.json
Diffstat (limited to 'node_modules/core-js/modules/$.partial.js')
-rw-r--r-- | node_modules/core-js/modules/$.partial.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/node_modules/core-js/modules/$.partial.js b/node_modules/core-js/modules/$.partial.js deleted file mode 100644 index 53f97aa9c..000000000 --- a/node_modules/core-js/modules/$.partial.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; -var path = require('./$.path') - , invoke = require('./$.invoke') - , aFunction = require('./$.a-function'); -module.exports = function(/* ...pargs */){ - var fn = aFunction(this) - , length = arguments.length - , pargs = Array(length) - , i = 0 - , _ = path._ - , holder = false; - while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true; - return function(/* ...args */){ - var that = this - , $$ = arguments - , $$len = $$.length - , j = 0, k = 0, args; - if(!holder && !$$len)return invoke(fn, pargs, that); - args = pargs.slice(); - if(holder)for(;length > j; j++)if(args[j] === _)args[j] = $$[k++]; - while($$len > k)args.push($$[k++]); - return invoke(fn, args, that); - }; -};
\ No newline at end of file |