1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 19:15:46 +01:00

Re-enable error reporting during mapping execution.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-27 02:12:59 -05:00
parent 57fee7e740
commit 9419f83359
2 changed files with 7 additions and 6 deletions

View File

@@ -120,6 +120,7 @@ var Map = Class("Map", {
} }
catch (e) { catch (e) {
events.feedingKeys = false; events.feedingKeys = false;
dactyl.reportError(e, true);
} }
finally { finally {
this.executing = false; this.executing = false;

View File

@@ -31,17 +31,17 @@ var AddonListener = Class("AddonListener", {
this.dactyl = modules.dactyl; this.dactyl = modules.dactyl;
}, },
onNewInstall: function (install) {}, onNewInstall: function (install) {},
onExternalInstall: function (addon, existingAddon, needsRestart) {}, onExternalInstall: function (addon, existingAddon, needsRestart) {},
onDownloadStarted: listener("download", "started"), onDownloadStarted: listener("download", "started"),
onDownloadEnded: listener("download", "complete"), onDownloadEnded: listener("download", "complete"),
onDownloadCancelled: listener("download", "cancelled"), onDownloadCancelled: listener("download", "cancelled"),
onDownloadFailed: listener("download", "failed"), onDownloadFailed: listener("download", "failed"),
onDownloadProgress: function (install) {}, onDownloadProgress: function (install) {},
onInstallStarted: function (install) {}, onInstallStarted: function (install) {},
onInstallEnded: listener("installation", "complete"), onInstallEnded: listener("installation", "complete"),
onInstallCancelled: listener("installation", "cancelled"), onInstallCancelled: listener("installation", "cancelled"),
onInstallFailed: listener("installation", "failed") onInstallFailed: listener("installation", "failed")
}); });
var updateAddons = Class("UpgradeListener", AddonListener, { var updateAddons = Class("UpgradeListener", AddonListener, {