From 97bd1ef4ec2980b3154ad7a78d91770c0b1097ae Mon Sep 17 00:00:00 2001 From: Trevor Adams Date: Tue, 31 Mar 2015 18:29:48 -0700 Subject: [PATCH] Minor change to `_.once` to avoid an extra var swap. --- lodash.src.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.src.js b/lodash.src.js index 84f50b2e4..9abe72553 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -8060,7 +8060,7 @@ * // `initialize` invokes `createApplication` once */ function once(func) { - return before(func, 2); + return before(2, func); } /**