diff --git a/content/commands.js b/content/commands.js index f3385c25..ae49a252 100644 --- a/content/commands.js +++ b/content/commands.js @@ -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) diff --git a/content/events.js b/content/events.js index 24431adb..4491c0ec 100644 --- a/content/events.js +++ b/content/events.js @@ -39,7 +39,6 @@ liberator.AutoCommands = function () //{{{ for (var item in autoCommands) for (var i = 0; i < autoCommands[item].length; i++) yield item + " " + autoCommands[item][i][0] + " " + autoCommands[item][i][1]; - throw StopIteration; } /////////////////////////////////////////////////////////////////////////////}}} diff --git a/content/mappings.js b/content/mappings.js index 7a3fb0cf..4a892c53 100644 --- a/content/mappings.js +++ b/content/mappings.js @@ -160,7 +160,6 @@ liberator.Mappings = function () //{{{ if (output) yield maps[i]; } - throw StopIteration; } function addMapCommands(ch, modes, modeDescription) diff --git a/content/modes.js b/content/modes.js index 851a2493..5101081f 100644 --- a/content/modes.js +++ b/content/modes.js @@ -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,