mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:27:58 +01:00
remove redundant throwing of StopIteration from generators
This commit is contained in:
@@ -189,8 +189,6 @@ liberator.modes = (function () //{{{
|
||||
|
||||
for (var i = 0; i < modes.length; i++)
|
||||
yield modes[i];
|
||||
|
||||
throw StopIteration;
|
||||
},
|
||||
|
||||
get all() { return [this.NONE, this.NORMAL, this.INSERT, this.VISUAL,
|
||||
|
||||
Reference in New Issue
Block a user