1
0
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:
Kris Maglione
2012-12-16 23:34:56 -08:00
parent 6a87343724
commit ebc0edd5bb
8 changed files with 41 additions and 25 deletions

View File

@@ -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 + ">";
}
},