mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 01:12:26 +01:00
Death to E4X and stuff.
This commit is contained in:
@@ -720,7 +720,7 @@ var Template_ = Module("Template_", {
|
||||
case "object":
|
||||
if (arg instanceof Ci.nsIDOMElement)
|
||||
return util.objectToString(arg, !bw);
|
||||
if (arg instanceof Magic)
|
||||
if (arg instanceof util.Magic)
|
||||
return String(arg);
|
||||
|
||||
if (processStrings && false)
|
||||
@@ -735,7 +735,7 @@ var Template_ = Module("Template_", {
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
return "<unknown>";
|
||||
return "<error: " + e + ">";
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user