1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 01:25:48 +01:00

Experimentally move finder.js to finder.jsm.

--HG--
rename : common/content/finder.js => common/modules/finder.jsm
This commit is contained in:
Kris Maglione
2011-01-04 02:20:52 -05:00
parent 8e498ed52f
commit 27f5f16aa9
3 changed files with 71 additions and 46 deletions

View File

@@ -10,7 +10,7 @@ try {
Components.utils.import("resource://dactyl/base.jsm");
defineModule("util", {
exports: ["FailedAssertion", "Math", "NS", "Util", "XBL", "XHTML", "XUL", "util"],
exports: ["FailedAssertion", "Math", "NS", "Point", "Util", "XBL", "XHTML", "XUL", "util"],
require: ["services"],
use: ["config", "highlight", "storage", "template"]
});
@@ -29,6 +29,7 @@ memoize(this, "Commands", function () {
});
var FailedAssertion = Class("FailedAssertion", ErrorBase);
var Point = Struct("x", "y");
function wrapCallback(fn)
fn.wrapper = function wrappedCallback () {