1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 03:14:13 +01:00

Add missing semicolons.

--HG--
extra : rebase_source : 5fdc6c8e52b982ea4685d97cd7ccfeb184ec3851
This commit is contained in:
Doug Kearns
2010-11-05 00:44:25 +11:00
parent 47f498a403
commit 34eba352da
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ const Editor = Module("editor", {
try {
Editor.getEditor(null).selection[toEnd ? "collapseToEnd" : "collapseToStart"]();
}
catch (e) {};
catch (e) {}
},
selectedText: function () String(Editor.getEditor(null).selection),

View File

@@ -813,7 +813,7 @@ Class.prototype = {
*/
timeout: function (callback, timeout) {
const self = this;
let notify = { notify: function notify(timer) { try { callback.apply(self) } catch (e) { util.reportError(e) } } };
let notify = { notify: function notify(timer) { try { callback.apply(self); } catch (e) { util.reportError(e); } } };
let timer = services.create("timer");
timer.initWithCallback(notify, timeout || 0, timer.TYPE_ONE_SHOT);
return timer;