From 8bc697a6e1fbcc60d11c9f20b909810050579368 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 19 Jun 2011 00:49:34 +1000 Subject: [PATCH] Don't set bang config property for :style, :dialog, :quitall which don't support it. --- common/content/dactyl.js | 1 - common/content/tabs.js | 5 +---- common/modules/styles.jsm | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 998fe994..33f3f203 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -1765,7 +1765,6 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { } }, { argCount: "1", - bang: true, completer: function (context) { context.ignoreCase = true; completion.dialog(context); diff --git a/common/content/tabs.js b/common/content/tabs.js index fee88c92..f27f5e37 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -749,10 +749,7 @@ var Tabs = Module("tabs", { commands.add(["quita[ll]", "qa[ll]"], "Quit this " + config.appName + " window", function (args) { window.close(); }, - { - argCount: "0", - bang: true - }); + { argCount: "0" }); commands.add(["reloada[ll]"], "Reload all tab pages", diff --git a/common/modules/styles.jsm b/common/modules/styles.jsm index f5d24fdd..19dc8e41 100644 --- a/common/modules/styles.jsm +++ b/common/modules/styles.jsm @@ -572,7 +572,6 @@ var Styles = Module("Styles", { } }, { - bang: true, completer: function (context, args) { let compl = []; let sheet = args["-group"].get(args["-name"]);