1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-01 00:45:46 +01:00

More cleanup. Fix some Teledactyl bugginess.

This commit is contained in:
Kris Maglione
2011-09-29 21:25:17 -04:00
parent acd13342a4
commit 0cf1151e0a
21 changed files with 813 additions and 716 deletions

View File

@@ -12,14 +12,14 @@
// FIXME:
// - finish 1.9.0 support if we're going to support sanitizing in Melodactyl
try {
Components.utils.import("resource://dactyl/bootstrap.jsm");
defineModule("sanitizer", {
exports: ["Range", "Sanitizer", "sanitizer"],
require: ["messages", "prefs", "services", "storage", "template", "util"]
require: ["config", "prefs", "services", "storage", "template", "util"]
}, this);
this.lazyRequire("messages", ["_"]);
let tmp = {};
JSMLoader.loadSubScript("chrome://browser/content/sanitize.js", tmp);
tmp.Sanitizer.prototype.__proto__ = Class.prototype;
@@ -705,6 +705,6 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
endModule();
} catch(e){dump(e.fileName+":"+e.lineNumber+": "+e+"\n" + e.stack);}
// catch(e){dump(e.fileName+":"+e.lineNumber+": "+e+"\n" + e.stack);}
// vim: set fdm=marker sw=4 ts=4 et ft=javascript: