1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 00:44:12 +01:00

Fix assertion in addons.jsm.

This commit is contained in:
Kris Maglione
2011-01-29 20:43:05 -05:00
parent ffba231f56
commit 1c2546112a

View File

@@ -110,7 +110,7 @@ var actions = {
name: "extr[ehash]",
description: "Reload an extension",
action: function (addon) {
dactyl.assert(dactyl.has("Gecko2"), "This command is not useful in this version of " + config.host);
util.assert(util.haveGecko("2b"), "This command is not useful in this version of " + config.host);
util.timeout(function () {
addon.userDisabled = true;
addon.userDisabled = false;
@@ -521,7 +521,7 @@ else
});
},
getInstallForURL: function (url, callback, mimetype) {
dactyl.assert(false, "Install by URL not implemented");
util.assert(false, "Install by URL not implemented");
},
observers: [],
addAddonListener: function (listener) {