summaryrefslogtreecommitdiff
path: root/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/lib/devtools
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@gnu.org>2018-09-13 20:39:48 -0400
committerRuben Rodriguez <ruben@gnu.org>2018-09-13 21:02:13 -0400
commitd26b319fd6f98517cc3421f10bf18698b953e4d2 (patch)
treebc70c4e472a2eaf514d411dba5067d530e5bbea9 /data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/lib/devtools
parentc3b304c51a3386ea09527a479a883253ea35243a (diff)
Updated extensions list for v60
Diffstat (limited to 'data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/lib/devtools')
-rw-r--r--data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/lib/devtools/gcli.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/lib/devtools/gcli.js b/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/lib/devtools/gcli.js
deleted file mode 100644
index e1bb17f..0000000
--- a/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/lib/devtools/gcli.js
+++ /dev/null
@@ -1,23 +0,0 @@
-'use strict';
-
-const { Cu } = require('chrome');
-const { when: unload } = require('unload');
-
-try {
- // Starting with FF 23, gcli.jsm moved to another location
- Cu.import("resource://gre/modules/devtools/gcli.jsm");
-} catch(e) {
- try {
- Cu.import("resource:///modules/devtools/gcli.jsm");
- } catch(e) {
- console.error("Unable to load gcli.jsm");
- }
-}
-
-function addCommand(cmd) {
- let name = cmd.name;
- gcli.addCommand(cmd);
- unload(gcli.removeCommand.bind(gcli, name));
-}
-exports.addCommand = addCommand;
-exports.removeCommand = gcli.removeCommand;