diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-10 21:51:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-10 21:51:33 +0100 |
commit | 0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch) | |
tree | f9864d4a4148621378958794cbbfdc2393733283 /node_modules/es5-ext/function/#/curry.js | |
parent | 6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff) |
upgrade dependencies
Diffstat (limited to 'node_modules/es5-ext/function/#/curry.js')
-rw-r--r-- | node_modules/es5-ext/function/#/curry.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/es5-ext/function/#/curry.js b/node_modules/es5-ext/function/#/curry.js index a9b17814d..cc1e14a5a 100644 --- a/node_modules/es5-ext/function/#/curry.js +++ b/node_modules/es5-ext/function/#/curry.js @@ -7,7 +7,7 @@ var toPosInt = require("../../number/to-pos-integer") , slice = Array.prototype.slice, apply = Function.prototype.apply , curry; -curry = function self (fn, length, preArgs) { +curry = function self(fn, length, preArgs) { return defineLength(function () { var args = preArgs ? preArgs.concat(slice.call(arguments, 0, length - preArgs.length)) |