mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Remove unneeded default ran value from _.once.
Former-commit-id: 4d4fc057c0cf9108183e7e7158f305214eed4323
This commit is contained in:
@@ -3140,8 +3140,8 @@
|
||||
* // Application is only created once.
|
||||
*/
|
||||
function once(func) {
|
||||
var result,
|
||||
ran = false;
|
||||
var ran,
|
||||
result;
|
||||
|
||||
return function() {
|
||||
if (ran) {
|
||||
|
||||
Reference in New Issue
Block a user