mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-07 20:45:47 +01:00
Add real mappings for most HINT mode keys. Lazily expand leader, and keep in sync with 'mapleader'.
--HG-- branch : bootstrapped
This commit is contained in:
@@ -66,6 +66,7 @@ var Services = Module("Services", {
|
||||
this.addClass("Find", "@mozilla.org/embedcomp/rangefind;1", Ci.nsIFind);
|
||||
this.addClass("HtmlConverter","@mozilla.org/widget/htmlformatconverter;1", Ci.nsIFormatConverter);
|
||||
this.addClass("HtmlEncoder", "@mozilla.org/layout/htmlCopyEncoder;1", Ci.nsIDocumentEncoder);
|
||||
this.addClass("Persist", "@mozilla.org/embedding/browser/nsWebBrowserPersist;1", Ci.nsIWebBrowserPersist);
|
||||
this.addClass("Process", "@mozilla.org/process/util;1", Ci.nsIProcess, "init");
|
||||
this.addClass("String", "@mozilla.org/supports-string;1", Ci.nsISupportsString);
|
||||
this.addClass("Timer", "@mozilla.org/timer;1", Ci.nsITimer, "initWithCallback");
|
||||
|
||||
@@ -486,7 +486,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
*/
|
||||
dumpStack: function dumpStack(msg, frames) {
|
||||
let stack = util.stackLines(Error().stack);
|
||||
stack = stack.slice(2, 2 + (frames || stack.length)).join("\n").replace(/^/gm, " ");
|
||||
stack = stack.slice(1, 1 + (frames || stack.length)).join("\n").replace(/^/gm, " ");
|
||||
util.dump((arguments.length == 0 ? "Stack" : msg) + "\n" + stack + "\n");
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user