scottjehl/Respond — pull request #136 by timscott (2012-06-20 21:35:56+00:00)
Title: Fixed bug in For Loop

I was experiencing this problem in IE8.

http://stackoverflow.com/questions/1107681/javascript-hiding-prototype-methods-in-for-loop

It was only IE8 (didn't try earlier versions of IE) and only on one page. Despite spending a considerable amount of time I could not understand what about this page triggers the problem. In any case the code is better with this change. For-in loops are somewhat inherently dangerous because of this problem.