1
0
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:
Doug Kearns
2008-09-15 14:52:21 +00:00
parent b0dede3cba
commit a0cbde84b1
4 changed files with 0 additions and 6 deletions

View File

@@ -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)