https://bugzilla.wikimedia.org/show_bug.cgi?id=28931
--- Comment #3 from Benjamin Langguth <langg...@ontoprise.de> 2011-05-12 09:12:29 UTC --- Thank you applying the patch. Yes, the issue arised from the use of the PrototypeJS lib (in SMW+). I don't know the current effort on transform all prototype scripts to jQuery but i'm going to ask our dev team about it. All i can say is that upcoming scripts are mostly implemented in jQuery now. @Bawolff: Yes, this recommendation would cover most cases since it skips prototype members of the object (e.g. added by libraries). But the following code would still not work as expected: var a, index; a = ['a', 'b', 'c']; a.name = 'MyArray'; for (index in a) // <= WRONG { if (a.hasOwnProperty(index)) { alert(index + ' = ' + a[index]); } } -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l