diff options
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)) |