summaryrefslogtreecommitdiff
path: root/common/components
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-01-09 16:15:52 -0500
committerKris Maglione <maglione.k@gmail.com>2011-01-09 16:15:52 -0500
commit04f55e932497cb43952715e4eab734d88d41e823 (patch)
tree9d29667f03281d07322a563b8115a1dc276f035e /common/components
parent415386a183cb15de80ddc35ff49be620423333ca (diff)
downloadpentadactyl-04f55e932497cb43952715e4eab734d88d41e823.tar.gz
Deal with fallout from 609832.
Diffstat (limited to 'common/components')
-rw-r--r--common/components/commandline-handler.js4
-rw-r--r--common/components/protocols.js4
2 files changed, 0 insertions, 8 deletions
diff --git a/common/components/commandline-handler.js b/common/components/commandline-handler.js
index b3ba875e..918d7bf3 100644
--- a/common/components/commandline-handler.js
+++ b/common/components/commandline-handler.js
@@ -9,8 +9,6 @@ function reportError(e) {
Cu.reportError(e);
}
-try {
-
var global = this;
var NAME = "command-line-handler";
var Cc = Components.classes;
@@ -61,6 +59,4 @@ else
var NSGetModule = XPCOMUtils.generateNSGetModule([CommandLineHandler]);
var EXPORTED_SYMBOLS = ["NSGetFactory", "global"];
-} catch (e) { reportError(e) }
-
// vim: set fdm=marker sw=4 ts=4 et:
diff --git a/common/components/protocols.js b/common/components/protocols.js
index 4151275e..3d7cd5e7 100644
--- a/common/components/protocols.js
+++ b/common/components/protocols.js
@@ -9,8 +9,6 @@ function reportError(e) {
Cu.reportError(e);
}
-try {
-
/* Adds support for data: URIs with chrome privileges
* and fragment identifiers.
*
@@ -334,6 +332,4 @@ else
var NSGetModule = XPCOMUtils.generateNSGetModule([ChromeData, Dactyl, Shim]);
var EXPORTED_SYMBOLS = ["NSGetFactory", "global"];
-} catch (e) { reportError(e) }
-
// vim: set fdm=marker sw=4 ts=4 et: