mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-18 10:04:10 +01:00
After some profiling, give all modules a common prototype.
This commit is contained in:
@@ -10,8 +10,7 @@ try {
|
||||
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("javascript", {
|
||||
exports: ["JavaScript", "javascript"],
|
||||
use: ["messages", "services", "template", "util"]
|
||||
exports: ["JavaScript", "javascript"]
|
||||
}, this);
|
||||
|
||||
let isPrototypeOf = Object.prototype.isPrototypeOf;
|
||||
|
||||
Reference in New Issue
Block a user