Skip to content

Commit

Permalink
StopIteration is not a function/constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
hns committed Mar 12, 2010
1 parent c5e8588 commit 80e8393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/rhino/lib/zip.js
Expand Up @@ -36,7 +36,7 @@ exports.Unzip.prototype.iterator = function () {
return {
next: function () {
if (!enumeration.hasMoreElements())
throw new StopIteration();
throw StopIteration;
return new exports.Entry(
self._javaZipFile,
enumeration.nextElement()
Expand Down

0 comments on commit 80e8393

Please sign in to comment.