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

Allow most characters in command names.

This commit is contained in:
Kris Maglione
2010-12-20 13:59:38 -05:00
parent bd4ad25901
commit f290f022dd
3 changed files with 59 additions and 9 deletions

View File

@@ -480,7 +480,7 @@ function isinstance(targ, src) {
/**
* Returns true if obj is a non-null object.
*/
function isObject(obj) typeof obj === "object" && obj != null;
function isObject(obj) typeof obj === "object" && obj != null || obj instanceof Ci.nsISupports;
/**
* Returns true if and only if its sole argument is an