Sorry for cross-posting, but here is the answer that helped me : http://stackoverflow.com/questions/12580410/bug-with-prototype-1-7-and-native-array-usage/
On Tuesday, September 25, 2012 11:40:17 AM UTC+2, epoch wrote: > > Using chrome 21 and prototype 1.7.1, I have discovered that using $throw > $break* does *not work. > > The Error/Exception gets thrown up to the browser when it should have been > stopped by *if (e != $break)* > I suspect that this occurs because inject, each, etc have native > implementations in Chrome, and they do not get wrapped by the same > functionality as the built in functions > > Please tell me that I am wrong, or I will have to change thousands of > lines of code to normal for-loops to break out of them. > > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/AqOMnZhjf-IJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
