mediawiki.inspect: Guard against Object.prototype keys as module names
authorFomafix <fomafix@googlemail.com>
Fri, 12 Dec 2014 13:10:09 +0000 (13:10 +0000)
committer[[mw:User:Fomafix]] <gerritpatchuploader@gmail.com>
Fri, 12 Dec 2014 13:10:09 +0000 (13:10 +0000)
commitd4107778a46180c2d4698c92cfa53fc82e847ee0
tree5996d6906898c7e4a5bcb893d6124c262932f0ae
parent4394d6cf8a7913e90df119e32f67dd51b8f2ddcb
mediawiki.inspect: Guard against Object.prototype keys as module names

This avoids conflicts where we confuse an Object method for a
registered module.

Change-Id: Ic32b0706e7dc7755ae096e1be2d5d941347d6123
resources/src/mediawiki/mediawiki.inspect.js