mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 17:04:12 +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:
@@ -5,7 +5,7 @@ const Ci = Components.interfaces;
|
||||
|
||||
function module(uri) {
|
||||
if (!/^[a-z-]+:/.exec(uri))
|
||||
uri = /([^ ]+\/)[^\/]+$/.exec(Components.stack.filename)[1] + uri + ".jsm";
|
||||
uri = /([^ ]+\/)[^\/]+$/.exec(Components.stack.caller.filename)[1] + uri + ".jsm";
|
||||
|
||||
let obj = {};
|
||||
Components.utils.import(uri, obj);
|
||||
|
||||
Reference in New Issue
Block a user