Minor change to _.once to avoid an extra var swap.

This commit is contained in:
Trevor Adams
2015-03-31 18:29:48 -07:00
committed by jdalton
parent 2adac8bdae
commit 97bd1ef4ec

View File

@@ -8060,7 +8060,7 @@
* // `initialize` invokes `createApplication` once
*/
function once(func) {
return before(func, 2);
return before(2, func);
}
/**