prototype: Set window.$continue to an Error with a helpful message for anyone who may still be using 'throw $continue'.

This commit is contained in:
Sam Stephenson 2007-04-28 03:00:57 +00:00
parent 310b3eccfa
commit 8a382ff853
2 changed files with 3 additions and 2 deletions

View File

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

View File

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