For enumerable methods of types, instead of a object.$methods array, an object.forEac... 2255/head
commit974977cb74f1874134732f4bbf523263de03be89
authorArian <arian@aryweb.nl>
Wed, 25 Jan 2012 11:13:35 +0000 (25 12:13 +0100)
committerArian <arian@aryweb.nl>
Wed, 25 Jan 2012 11:13:35 +0000 (25 12:13 +0100)
tree363f0f537a5ee227c7f015f7535b35e2de191eb6
parent9293d6120a1f7f2d1febeebd3ef7d5efc085e506
For enumerable methods of types, instead of a object.$methods array, an object.forEachMethod is created, to loop over each method, including the ones that are not enumerable.

An extra check is done by propertyIsEnumerable(prop). This is an ES3 feature and is even available in IE6.
In practice though, with this use-case, this always returns false.

Tested: IE6, IE8, Android 2.3, Chrome, Firefox 3.6, Firefox 10, Opera 11.61.
Source/Core/Core.js
Source/Element/Element.js