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

@@ -5,7 +5,7 @@
//
// This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file.
/* use strict */
"use strict";
try {
@@ -173,7 +173,7 @@ var IO = Module("io", {
e.fileName = util.fixURI(e.fileName);
if (e.fileName == uri.spec)
e.fileName = filename;
e.echoerr = <>{e.fileName}:{e.lineNumber}: {e}</>;
e.echoerr = [e.fileName, ":", e.lineNumber, ": ", e].join("");
}
catch (e) {}
throw e;