Bug 1470989 - Rename all panel modules to "panel.js". r=jdescottes draft
authorAlexandre Poirot <poirot.alex@gmail.com>
Mon, 25 Jun 2018 12:47:52 -0700
changeset 810639 5a17a1021f23688163bb3147d9f1bc63c458bc85
parent 810392 fcde48b7a8667b3a6ff5c1c9845b18c71aefad2d
child 810640 a76bf9486f1056c2bb983f0192acf5f5e64bf02e
push id114065
push userbmo:poirot.alex@gmail.com
push dateTue, 26 Jun 2018 09:14:58 +0000
reviewersjdescottes
bugs1470989
milestone63.0a1
Bug 1470989 - Rename all panel modules to "panel.js". r=jdescottes MozReview-Commit-ID: HN33KNmbCaY
devtools/client/accessibility/accessibility-panel.js
devtools/client/accessibility/moz.build
devtools/client/accessibility/panel.js
devtools/client/definitions.js
devtools/client/dom/dom-panel.js
devtools/client/dom/moz.build
devtools/client/dom/panel.js
devtools/client/scratchpad/moz.build
devtools/client/scratchpad/panel.js
devtools/client/scratchpad/scratchpad-panel.js
devtools/client/styleeditor/moz.build
devtools/client/styleeditor/panel.js
devtools/client/styleeditor/styleeditor-panel.js
--- a/devtools/client/accessibility/moz.build
+++ b/devtools/client/accessibility/moz.build
@@ -8,19 +8,19 @@ BROWSER_CHROME_MANIFESTS += ['test/brows
 DIRS += [
     'actions',
     'components',
     'reducers',
     'utils'
 ]
 
 DevToolsModules(
-    'accessibility-panel.js',
     'accessibility-startup.js',
     'accessibility-view.js',
     'accessibility.css',
     'constants.js',
+    'panel.js',
     'picker.js',
     'provider.js',
 )
 
 with Files('**'):
     BUG_COMPONENT = ('DevTools', 'Accessibility Tools')
rename from devtools/client/accessibility/accessibility-panel.js
rename to devtools/client/accessibility/panel.js
--- a/devtools/client/definitions.js
+++ b/devtools/client/definitions.js
@@ -9,27 +9,27 @@ const osString = Services.appinfo.OS;
 const { Cu } = require("chrome");
 
 // Panels
 loader.lazyGetter(this, "OptionsPanel", () => require("devtools/client/framework/toolbox-options").OptionsPanel);
 loader.lazyGetter(this, "InspectorPanel", () => require("devtools/client/inspector/panel").InspectorPanel);
 loader.lazyGetter(this, "WebConsolePanel", () => require("devtools/client/webconsole/panel").WebConsolePanel);
 loader.lazyGetter(this, "DebuggerPanel", () => require("devtools/client/debugger/panel").DebuggerPanel);
 loader.lazyGetter(this, "NewDebuggerPanel", () => require("devtools/client/debugger/new/panel").DebuggerPanel);
-loader.lazyGetter(this, "StyleEditorPanel", () => require("devtools/client/styleeditor/styleeditor-panel").StyleEditorPanel);
+loader.lazyGetter(this, "StyleEditorPanel", () => require("devtools/client/styleeditor/panel").StyleEditorPanel);
 loader.lazyGetter(this, "CanvasDebuggerPanel", () => require("devtools/client/canvasdebugger/panel").CanvasDebuggerPanel);
 loader.lazyGetter(this, "WebAudioEditorPanel", () => require("devtools/client/webaudioeditor/panel").WebAudioEditorPanel);
 loader.lazyGetter(this, "MemoryPanel", () => require("devtools/client/memory/panel").MemoryPanel);
 loader.lazyGetter(this, "PerformancePanel", () => require("devtools/client/performance/panel").PerformancePanel);
 loader.lazyGetter(this, "NewPerformancePanel", () => require("devtools/client/performance-new/panel").PerformancePanel);
 loader.lazyGetter(this, "NetMonitorPanel", () => require("devtools/client/netmonitor/panel").NetMonitorPanel);
 loader.lazyGetter(this, "StoragePanel", () => require("devtools/client/storage/panel").StoragePanel);
-loader.lazyGetter(this, "ScratchpadPanel", () => require("devtools/client/scratchpad/scratchpad-panel").ScratchpadPanel);
-loader.lazyGetter(this, "DomPanel", () => require("devtools/client/dom/dom-panel").DomPanel);
-loader.lazyGetter(this, "AccessibilityPanel", () => require("devtools/client/accessibility/accessibility-panel").AccessibilityPanel);
+loader.lazyGetter(this, "ScratchpadPanel", () => require("devtools/client/scratchpad/panel").ScratchpadPanel);
+loader.lazyGetter(this, "DomPanel", () => require("devtools/client/dom/panel").DomPanel);
+loader.lazyGetter(this, "AccessibilityPanel", () => require("devtools/client/accessibility/panel").AccessibilityPanel);
 loader.lazyGetter(this, "ApplicationPanel", () => require("devtools/client/application/panel").ApplicationPanel);
 
 // Other dependencies
 loader.lazyRequireGetter(this, "AccessibilityStartup", "devtools/client/accessibility/accessibility-startup", true);
 loader.lazyRequireGetter(this, "CommandUtils", "devtools/client/shared/developer-toolbar", true);
 loader.lazyRequireGetter(this, "CommandState", "devtools/shared/gcli/command-state", true);
 loader.lazyRequireGetter(this, "ResponsiveUIManager", "devtools/client/responsive.html/manager", true);
 loader.lazyImporter(this, "ScratchpadManager", "resource://devtools/client/scratchpad/scratchpad-manager.jsm");
--- a/devtools/client/dom/moz.build
+++ b/devtools/client/dom/moz.build
@@ -5,13 +5,13 @@
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
 
 DIRS += [
     'content',
 ]
 
 DevToolsModules(
-    'dom-panel.js',
+    'panel.js',
 )
 
 with Files('**'):
     BUG_COMPONENT = ('DevTools', 'DOM')
rename from devtools/client/dom/dom-panel.js
rename to devtools/client/dom/panel.js
--- a/devtools/client/scratchpad/moz.build
+++ b/devtools/client/scratchpad/moz.build
@@ -1,16 +1,16 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # 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/.
 
 DevToolsModules(
+    'panel.js',
     'scratchpad-commands.js',
     'scratchpad-manager.jsm',
-    'scratchpad-panel.js',
 )
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
 
 with Files('**'):
     BUG_COMPONENT = ('DevTools', 'Scratchpad')
rename from devtools/client/scratchpad/scratchpad-panel.js
rename to devtools/client/scratchpad/panel.js
--- a/devtools/client/styleeditor/moz.build
+++ b/devtools/client/styleeditor/moz.build
@@ -3,17 +3,17 @@
 # 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/.
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
 
 DevToolsModules(
     'original-source.js',
+    'panel.js',
     'styleeditor-commands.js',
-    'styleeditor-panel.js',
     'StyleEditorUI.jsm',
     'StyleEditorUtil.jsm',
     'StyleSheetEditor.jsm',
 )
 
 with Files('**'):
     BUG_COMPONENT = ('DevTools', 'Style Editor')
rename from devtools/client/styleeditor/styleeditor-panel.js
rename to devtools/client/styleeditor/panel.js