1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 17:55:45 +01:00

Merge default.

--HG--
branch : mode-refactoring
This commit is contained in:
Kris Maglione
2010-10-08 23:45:52 -04:00
7 changed files with 57 additions and 30 deletions

View File

@@ -244,7 +244,7 @@ const Util = Module("Util", {
let stack = Error().stack.replace(/(?:.*\n){2}/, "");
if (frames != null)
[stack] = stack.match(RegExp("(?:.*\n){0," + frames + "}"));
util.dump((msg || "Stack") + "\n" + stack + "\n");
util.dump((arguments.length == 0 ? "Stack" : msg) + "\n" + stack + "\n");
},
/**