mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:48:00 +01:00
remove redundant throwing of StopIteration from generators
This commit is contained in:
@@ -188,8 +188,6 @@ liberator.Commands = function () //{{{
|
||||
var sorted = exCommands.sort(function (cmd1, cmd2) { return cmd1.name > cmd2.name; });
|
||||
for (var i = 0; i < sorted.length; i++)
|
||||
yield sorted[i];
|
||||
|
||||
throw StopIteration;
|
||||
},
|
||||
|
||||
add: function (names, description, action, extra)
|
||||
|
||||
Reference in New Issue
Block a user