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

Make Teledactyl minimally functional, albeit with quite a lot of errors on the console.

This commit is contained in:
Kris Maglione
2011-02-19 22:02:01 -05:00
parent b648a061c8
commit d37e8159ed
23 changed files with 373 additions and 412 deletions

View File

@@ -873,7 +873,7 @@ Class.prototype = {
return services.Timer(timeout_notify, timeout || 0, services.Timer.TYPE_ONE_SHOT);
}
};
memoize(Class.prototype, "closure", function closure() {
Class.makeClosure = function makeClosure() {
const self = this;
function closure(fn) function _closure() {
try {
@@ -896,7 +896,8 @@ memoize(Class.prototype, "closure", function closure() {
});
}, this);
return closure;
});
};
memoize(Class.prototype, "closure", Class.makeClosure);
/**
* A base class generator for classes which implement XPCOM interfaces.