diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-01-23 17:37:59 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-01-23 17:37:59 -0500 |
commit | 64b12db9907f714376450f32b1da27ece196b08b (patch) | |
tree | c79668c4c55d6cb5533dcaf3249eb5280e414c18 /common/modules/base.jsm | |
parent | 5fdc1a5b60017ac2c427ec7c89388ce410c55f75 (diff) | |
download | pentadactyl-64b12db9907f714376450f32b1da27ece196b08b.tar.gz |
Begin replacing the key processing rat's nest.
--HG--
branch : key-processing
Diffstat (limited to 'common/modules/base.jsm')
-rw-r--r-- | common/modules/base.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modules/base.jsm b/common/modules/base.jsm index 071688eb..caaab70b 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -427,7 +427,7 @@ function isinstance(object, interfaces) { if (objproto.toString.call(object) === "[object " + interfaces[i] + "]") return true; } - else if ("isinstance" in object && object.isinstance !== isinstance) { + else if (typeof object === "object" && "isinstance" in object && object.isinstance !== isinstance) { if (object.isinstance(interfaces[i])) return true; } |