Permalink
Browse files

StopIteration is not a function/constructor

  • Loading branch information...
1 parent c5e8588 commit 80e8393021db9a13ae60de9395ef0f852fcb2be3 @hns hns committed Mar 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 engines/rhino/lib/zip.js
View
@@ -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()

0 comments on commit 80e8393

Please sign in to comment.