1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 16:32:28 +01:00

Add missing semicolons.

This commit is contained in:
Doug Kearns
2015-05-25 23:54:56 +10:00
parent 72a4d80ad1
commit 5ab1befbf7
35 changed files with 82 additions and 84 deletions

View File

@@ -52,12 +52,12 @@ function Controller(controller) {
this._countBeep = () => {
this.beepCount++;
}
};
this.errors = [];
this._countError = (message, highlight) => {
if (/\b(Error|Warning)Msg\b/.test(highlight))
this.errors.push(String(message));
}
};
this.modules.dactyl.registerObserver("beep", this._countBeep);
this.modules.dactyl.registerObserver("echoLine", this._countError);
this.modules.dactyl.registerObserver("echoMultiline", this._countError);