mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-01 13:35:47 +01:00
After some profiling, give all modules a common prototype.
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("finder", {
|
||||
exports: ["RangeFind", "RangeFinder", "rangefinder"],
|
||||
require: ["prefs"],
|
||||
use: ["dom", "messages", "services", "util"]
|
||||
require: ["prefs"]
|
||||
}, this);
|
||||
|
||||
function equals(a, b) XPCNativeWrapper(a) == XPCNativeWrapper(b);
|
||||
|
||||
Reference in New Issue
Block a user