mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-19 23:07:58 +01:00
Uncommitted code from last commit.
This commit is contained in:
@@ -4,6 +4,13 @@
|
|||||||
// given in the LICENSE.txt file included with this file.
|
// given in the LICENSE.txt file included with this file.
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
function reportError(e) {
|
||||||
|
dump("dactyl: components: " + e + "\n" + (e.stack || Error().stack));
|
||||||
|
Cu.reportError(e);
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
|
||||||
var global = this;
|
var global = this;
|
||||||
var Cc = Components.classes;
|
var Cc = Components.classes;
|
||||||
var Ci = Components.interfaces;
|
var Ci = Components.interfaces;
|
||||||
@@ -53,4 +60,6 @@ else
|
|||||||
var NSGetModule = XPCOMUtils.generateNSGetModule([CommandLineHandler]);
|
var NSGetModule = XPCOMUtils.generateNSGetModule([CommandLineHandler]);
|
||||||
var EXPORTED_SYMBOLS = ["NSGetFactory", "global"];
|
var EXPORTED_SYMBOLS = ["NSGetFactory", "global"];
|
||||||
|
|
||||||
|
} catch (e) { reportError(e) }
|
||||||
|
|
||||||
// vim: set fdm=marker sw=4 ts=4 et:
|
// vim: set fdm=marker sw=4 ts=4 et:
|
||||||
|
|||||||
Reference in New Issue
Block a user