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

After some profiling, give all modules a common prototype.

This commit is contained in:
Kris Maglione
2011-08-22 01:45:41 -04:00
parent fbb6af43ed
commit 60c858b59b
21 changed files with 33 additions and 55 deletions

View File

@@ -7,8 +7,7 @@
Components.utils.import("resource://dactyl/bootstrap.jsm");
defineModule("styles", {
exports: ["Style", "Styles", "styles"],
require: ["services", "util"],
use: ["contexts", "dom", "messages", "template"]
require: ["services", "util"]
}, this);
function cssUri(css) "chrome-data:text/css," + encodeURI(css);