1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 13:15:45 +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

@@ -773,11 +773,11 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
XML.prettyPrinting = false;
XML.ignoreWhitespace = false;
if (object === null)
return "null\n";
if (object == null)
return object + "\n";
if (typeof object !== "object")
return false;
if (!isObject(object))
return String(object);
if (object instanceof Ci.nsIDOMElement) {
const NAMESPACES = array.toObject([