diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-08-14 20:08:49 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-08-14 20:08:49 +0200 |
commit | cdd54fbe1376e13c1b941ca07df4728016f2e432 (patch) | |
tree | 23873d918ee2a38f9b275fca8f7fda0bc55a9050 /application/basilisk/tools | |
parent | 9f7b943c1de5e9ae010ff839ee7e601a081d42e1 (diff) | |
download | UXP-cdd54fbe1376e13c1b941ca07df4728016f2e432.tar UXP-cdd54fbe1376e13c1b941ca07df4728016f2e432.tar.gz UXP-cdd54fbe1376e13c1b941ca07df4728016f2e432.tar.lz UXP-cdd54fbe1376e13c1b941ca07df4728016f2e432.tar.xz UXP-cdd54fbe1376e13c1b941ca07df4728016f2e432.zip |
Issue #1124: [Basilisk] Remove Dev Edition front-end tie-ins.
Diffstat (limited to 'application/basilisk/tools')
-rw-r--r-- | application/basilisk/tools/mozscreenshots/mozscreenshots/extension/configurations/DevEdition.jsm | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/application/basilisk/tools/mozscreenshots/mozscreenshots/extension/configurations/DevEdition.jsm b/application/basilisk/tools/mozscreenshots/mozscreenshots/extension/configurations/DevEdition.jsm deleted file mode 100644 index fd981bca3..000000000 --- a/application/basilisk/tools/mozscreenshots/mozscreenshots/extension/configurations/DevEdition.jsm +++ /dev/null @@ -1,42 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. */ - -"use strict"; - -this.EXPORTED_SYMBOLS = ["DevEdition"]; - -const {classes: Cc, interfaces: Ci, utils: Cu} = Components; -const THEME_ID = "firefox-devedition@mozilla.org"; - -Cu.import("resource://gre/modules/LightweightThemeManager.jsm"); -Cu.import("resource://gre/modules/Services.jsm"); -Cu.import("resource://gre/modules/Task.jsm"); - -this.DevEdition = { - init(libDir) {}, - - configurations: { - devEditionLight: { - applyConfig: Task.async(() => { - Services.prefs.setCharPref("devtools.theme", "light"); - LightweightThemeManager.currentTheme = LightweightThemeManager.getUsedTheme(THEME_ID); - Services.prefs.setBoolPref("browser.devedition.theme.showCustomizeButton", true); - }), - }, - devEditionDark: { - applyConfig: Task.async(() => { - Services.prefs.setCharPref("devtools.theme", "dark"); - LightweightThemeManager.currentTheme = LightweightThemeManager.getUsedTheme(THEME_ID); - Services.prefs.setBoolPref("browser.devedition.theme.showCustomizeButton", true); - }), - }, - devEditionOff: { - applyConfig: Task.async(() => { - Services.prefs.clearUserPref("devtools.theme"); - LightweightThemeManager.currentTheme = null; - Services.prefs.clearUserPref("browser.devedition.theme.showCustomizeButton"); - }), - }, - }, -}; |