Patch to replace for-in with for(;;)
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sat, 2 Jul 2011 08:32:19 +0000 (08:32 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sat, 2 Jul 2011 08:32:19 +0000 (08:32 +0000)
commited7d6a6509e640cc22432e7e7952796ac7e57ae3
tree0831a26a98dfe744ccca4ad4c38b9050aab88408
parent7c790f1c99b6072dc7916b1237c808d6938108de
Patch to replace for-in with for(;;)

This breaks when strange things are added to Array.prototype (and you never know what users do in their user scripts), so use for (var i = 0; i < ...length; i++ ) instead.

Fixes 29676. Patch courtesy of Micheal M.
resources/jquery/jquery.client.js