From 34eba352da4c38553b8240825e172f99492e55f7 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 5 Nov 2010 00:44:25 +1100 Subject: [PATCH] Add missing semicolons. --HG-- extra : rebase_source : 5fdc6c8e52b982ea4685d97cd7ccfeb184ec3851 --- common/content/editor.js | 2 +- common/modules/base.jsm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/editor.js b/common/content/editor.js index 3fd62605..65690146 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -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), diff --git a/common/modules/base.jsm b/common/modules/base.jsm index d3ce56ab..4bd3f100 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -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;