1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-12 04:45:47 +01:00

More dactyl.generateHelp improvements.

This commit is contained in:
Kris Maglione
2010-10-25 23:44:25 -04:00
parent cbcd5e8749
commit ca2ee77905
5 changed files with 37 additions and 19 deletions

View File

@@ -213,6 +213,8 @@ function debuggerProperties(obj) {
* @returns {Generator}
*/
function prototype(obj)
// Temporary hack:
typeof obj === "xml" || obj.__proto__ !== obj.__proto__ ? null :
obj.__proto__ || Object.getPrototypeOf(obj) ||
XPCNativeWrapper.unwrap(obj).__proto__ ||
Object.getPrototypeOf(XPCNativeWrapper.unwrap(obj));