1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 08:55:47 +01:00

Fix config.version on FF36. Closes issue #306.

This commit is contained in:
Kris Maglione
2011-01-25 15:38:25 -05:00
parent 35e0ab9cf4
commit 26fe2c3e27
2 changed files with 6 additions and 1 deletions

View File

@@ -169,8 +169,12 @@ function endModule() {
function require(obj, name, from) {
try {
if (arguments.length === 1)
[obj, name] = [{}, obj];
defineModule.loadLog.push((from || "require") + ": loading " + name + " into " + obj.NAME);
JSMLoader.load(name + ".jsm", obj);
return obj;
}
catch (e) {
defineModule.dump("loading " + String.quote(name + ".jsm") + "\n");