mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 05:44:18 +01:00
Add tests for dead help links. Fix some minor bugs. Show error when trying to modify a builtin group rather than failing silently.
This commit is contained in:
@@ -1,16 +1,8 @@
|
||||
function module(uri) {
|
||||
if (!/^[a-z-]+:/.exec(uri))
|
||||
uri = /([^ ]+\/)[^\/]+$/.exec(Components.stack.filename)[1] + uri + ".jsm";
|
||||
|
||||
let obj = {};
|
||||
Components.utils.import(uri, obj);
|
||||
return obj;
|
||||
}
|
||||
var utils = {}; Components.utils.import(/([^ ]+\/)[^\/]+$/.exec(Components.stack.filename)[1] + "utils.jsm", utils);
|
||||
|
||||
var EXPORTED_SYMBOLS = ["Controller"];
|
||||
|
||||
var utils = module("utils");
|
||||
const { NS } = utils;
|
||||
const { module, NS } = utils;
|
||||
|
||||
var elementslib = module("resource://mozmill/modules/elementslib.js");
|
||||
var frame = module("resource://mozmill/modules/frame.js");
|
||||
|
||||
Reference in New Issue
Block a user