1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-13 23:33:33 +02: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]", name: "extr[ehash]",
description: "Reload an extension", description: "Reload an extension",
action: function (addon) { 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 () { util.timeout(function () {
addon.userDisabled = true; addon.userDisabled = true;
addon.userDisabled = false; addon.userDisabled = false;
@@ -521,7 +521,7 @@ else
}); });
}, },
getInstallForURL: function (url, callback, mimetype) { getInstallForURL: function (url, callback, mimetype) {
dactyl.assert(false, "Install by URL not implemented"); util.assert(false, "Install by URL not implemented");
}, },
observers: [], observers: [],
addAddonListener: function (listener) { addAddonListener: function (listener) {