Remove unneeded default ran value from _.once.

Former-commit-id: 4d4fc057c0cf9108183e7e7158f305214eed4323
This commit is contained in:
John-David Dalton
2012-12-27 09:54:41 -06:00
parent 05cf5bc8db
commit 8ec7b84a78
4 changed files with 6 additions and 6 deletions

View File

@@ -3140,8 +3140,8 @@
* // Application is only created once.
*/
function once(func) {
var result,
ran = false;
var ran,
result;
return function() {
if (ran) {