diff --git a/CHANGELOG b/CHANGELOG index 3acd85f..65048d8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Set window.$continue to an Error with a helpful message for anyone who may still be using "throw $continue". [sam] + * Fix jstest.rb IE support so you don't have to close the IE window after each test (yay!). Closes #8207. [Ryan Schuft] * Fix jstest.rb Konqueror support. Closes #7140. [Christophe Porteneuve] diff --git a/src/enumerable.js b/src/enumerable.js index 6019a7a..e58debc 100644 --- a/src/enumerable.js +++ b/src/enumerable.js @@ -1,5 +1,4 @@ -var $break = new Object(); -var $continue = new Object(); +var $break = {}, $continue = new Error('"throw $continue" is deprecated, use "return" instead'); var Enumerable = { each: function(iterator) {