Bug 1411199 - CamelCase all aboutdebugging component files. r=jdescottes
authorMaxime Vaillancourt <maxvaillancourt1@gmail.com>
Tue, 24 Oct 2017 22:59:21 -0400
changeset 388194 a8526281637d
parent 388193 44a2659e778a
child 388195 8e55fa4da0cb
push id32745
push userarchaeopteryx@coole-files.de
push dateWed, 25 Oct 2017 22:22:59 +0000
treeherdermozilla-central@64bab5cbb9b6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdescottes
bugs1411199
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1411199 - CamelCase all aboutdebugging component files. r=jdescottes
devtools/client/aboutdebugging/components/Aboutdebugging.js
devtools/client/aboutdebugging/components/PanelHeader.js
devtools/client/aboutdebugging/components/PanelMenu.js
devtools/client/aboutdebugging/components/PanelMenuEntry.js
devtools/client/aboutdebugging/components/TargetList.js
devtools/client/aboutdebugging/components/aboutdebugging.js
devtools/client/aboutdebugging/components/addons/Controls.js
devtools/client/aboutdebugging/components/addons/InstallError.js
devtools/client/aboutdebugging/components/addons/Panel.js
devtools/client/aboutdebugging/components/addons/Target.js
devtools/client/aboutdebugging/components/addons/controls.js
devtools/client/aboutdebugging/components/addons/install-error.js
devtools/client/aboutdebugging/components/addons/moz.build
devtools/client/aboutdebugging/components/addons/panel.js
devtools/client/aboutdebugging/components/addons/target.js
devtools/client/aboutdebugging/components/moz.build
devtools/client/aboutdebugging/components/panel-header.js
devtools/client/aboutdebugging/components/panel-menu-entry.js
devtools/client/aboutdebugging/components/panel-menu.js
devtools/client/aboutdebugging/components/tabs/Panel.js
devtools/client/aboutdebugging/components/tabs/Target.js
devtools/client/aboutdebugging/components/tabs/moz.build
devtools/client/aboutdebugging/components/tabs/panel.js
devtools/client/aboutdebugging/components/tabs/target.js
devtools/client/aboutdebugging/components/target-list.js
devtools/client/aboutdebugging/components/workers/MultiE10sWarning.js
devtools/client/aboutdebugging/components/workers/Panel.js
devtools/client/aboutdebugging/components/workers/ServiceWorkerTarget.js
devtools/client/aboutdebugging/components/workers/Target.js
devtools/client/aboutdebugging/components/workers/moz.build
devtools/client/aboutdebugging/components/workers/multi-e10s-warning.js
devtools/client/aboutdebugging/components/workers/panel.js
devtools/client/aboutdebugging/components/workers/service-worker-target.js
devtools/client/aboutdebugging/components/workers/target.js
devtools/client/aboutdebugging/initializer.js
rename from devtools/client/aboutdebugging/components/aboutdebugging.js
rename to devtools/client/aboutdebugging/components/Aboutdebugging.js
--- a/devtools/client/aboutdebugging/components/aboutdebugging.js
+++ b/devtools/client/aboutdebugging/components/Aboutdebugging.js
@@ -5,24 +5,24 @@
 /* eslint-env browser */
 
 "use strict";
 
 const { createFactory, createClass, DOM: dom, PropTypes } =
   require("devtools/client/shared/vendor/react");
 const Services = require("Services");
 
-const PanelMenu = createFactory(require("./panel-menu"));
+const PanelMenu = createFactory(require("./PanelMenu"));
 
 loader.lazyGetter(this, "AddonsPanel",
-  () => createFactory(require("./addons/panel")));
+  () => createFactory(require("./addons/Panel")));
 loader.lazyGetter(this, "TabsPanel",
-  () => createFactory(require("./tabs/panel")));
+  () => createFactory(require("./tabs/Panel")));
 loader.lazyGetter(this, "WorkersPanel",
-  () => createFactory(require("./workers/panel")));
+  () => createFactory(require("./workers/Panel")));
 
 loader.lazyRequireGetter(this, "DebuggerClient",
   "devtools/shared/client/debugger-client", true);
 loader.lazyRequireGetter(this, "Telemetry",
   "devtools/client/shared/telemetry");
 
 const Strings = Services.strings.createBundle(
   "chrome://devtools/locale/aboutdebugging.properties");
rename from devtools/client/aboutdebugging/components/panel-header.js
rename to devtools/client/aboutdebugging/components/PanelHeader.js
rename from devtools/client/aboutdebugging/components/panel-menu.js
rename to devtools/client/aboutdebugging/components/PanelMenu.js
--- a/devtools/client/aboutdebugging/components/panel-menu.js
+++ b/devtools/client/aboutdebugging/components/PanelMenu.js
@@ -1,17 +1,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/. */
 
 "use strict";
 
 const { createClass, createFactory, DOM: dom, PropTypes } =
   require("devtools/client/shared/vendor/react");
-const PanelMenuEntry = createFactory(require("./panel-menu-entry"));
+const PanelMenuEntry = createFactory(require("./PanelMenuEntry"));
 
 module.exports = createClass({
   displayName: "PanelMenu",
 
   propTypes: {
     panels: PropTypes.arrayOf(PropTypes.shape({
       id: PropTypes.string.isRequired,
       name: PropTypes.string.isRequired,
rename from devtools/client/aboutdebugging/components/panel-menu-entry.js
rename to devtools/client/aboutdebugging/components/PanelMenuEntry.js
rename from devtools/client/aboutdebugging/components/target-list.js
rename to devtools/client/aboutdebugging/components/TargetList.js
rename from devtools/client/aboutdebugging/components/addons/controls.js
rename to devtools/client/aboutdebugging/components/addons/Controls.js
--- a/devtools/client/aboutdebugging/components/addons/controls.js
+++ b/devtools/client/aboutdebugging/components/addons/Controls.js
@@ -9,17 +9,17 @@
 
 loader.lazyImporter(this, "AddonManager",
   "resource://gre/modules/AddonManager.jsm");
 
 const { Cc, Ci } = require("chrome");
 const { createFactory, createClass, DOM: dom, PropTypes } =
   require("devtools/client/shared/vendor/react");
 const Services = require("Services");
-const AddonsInstallError = createFactory(require("./install-error"));
+const AddonsInstallError = createFactory(require("./InstallError"));
 
 const Strings = Services.strings.createBundle(
   "chrome://devtools/locale/aboutdebugging.properties");
 
 const MORE_INFO_URL = "https://developer.mozilla.org/docs/Tools" +
                       "/about:debugging#Enabling_add-on_debugging";
 
 module.exports = createClass({
rename from devtools/client/aboutdebugging/components/addons/install-error.js
rename to devtools/client/aboutdebugging/components/addons/InstallError.js
rename from devtools/client/aboutdebugging/components/addons/panel.js
rename to devtools/client/aboutdebugging/components/addons/Panel.js
--- a/devtools/client/aboutdebugging/components/addons/panel.js
+++ b/devtools/client/aboutdebugging/components/addons/Panel.js
@@ -5,20 +5,20 @@
 "use strict";
 
 const { AddonManager } = require("resource://gre/modules/AddonManager.jsm");
 const { Management } = require("resource://gre/modules/Extension.jsm");
 const { createFactory, createClass, DOM: dom, PropTypes } =
   require("devtools/client/shared/vendor/react");
 const Services = require("Services");
 
-const AddonsControls = createFactory(require("./controls"));
-const AddonTarget = createFactory(require("./target"));
-const PanelHeader = createFactory(require("../panel-header"));
-const TargetList = createFactory(require("../target-list"));
+const AddonsControls = createFactory(require("./Controls"));
+const AddonTarget = createFactory(require("./Target"));
+const PanelHeader = createFactory(require("../PanelHeader"));
+const TargetList = createFactory(require("../TargetList"));
 
 loader.lazyRequireGetter(this, "DebuggerClient",
   "devtools/shared/client/debugger-client", true);
 
 const Strings = Services.strings.createBundle(
   "chrome://devtools/locale/aboutdebugging.properties");
 
 const ExtensionIcon = "chrome://mozapps/skin/extensions/extensionGeneric.svg";
rename from devtools/client/aboutdebugging/components/addons/target.js
rename to devtools/client/aboutdebugging/components/addons/Target.js
--- a/devtools/client/aboutdebugging/components/addons/moz.build
+++ b/devtools/client/aboutdebugging/components/addons/moz.build
@@ -1,10 +1,10 @@
 # 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(
-    'controls.js',
-    'install-error.js',
-    'panel.js',
-    'target.js',
+    'Controls.js',
+    'InstallError.js',
+    'Panel.js',
+    'Target.js',
 )
--- a/devtools/client/aboutdebugging/components/moz.build
+++ b/devtools/client/aboutdebugging/components/moz.build
@@ -4,14 +4,14 @@
 
 DIRS += [
     'addons',
     'tabs',
     'workers',
 ]
 
 DevToolsModules(
-    'aboutdebugging.js',
-    'panel-header.js',
-    'panel-menu-entry.js',
-    'panel-menu.js',
-    'target-list.js',
+    'Aboutdebugging.js',
+    'PanelHeader.js',
+    'PanelMenu.js',
+    'PanelMenuEntry.js',
+    'TargetList.js',
 )
rename from devtools/client/aboutdebugging/components/tabs/panel.js
rename to devtools/client/aboutdebugging/components/tabs/Panel.js
--- a/devtools/client/aboutdebugging/components/tabs/panel.js
+++ b/devtools/client/aboutdebugging/components/tabs/Panel.js
@@ -5,19 +5,19 @@
 /* eslint-env browser */
 
 "use strict";
 
 const { createClass, createFactory, DOM: dom, PropTypes } =
   require("devtools/client/shared/vendor/react");
 const Services = require("Services");
 
-const PanelHeader = createFactory(require("../panel-header"));
-const TargetList = createFactory(require("../target-list"));
-const TabTarget = createFactory(require("./target"));
+const PanelHeader = createFactory(require("../PanelHeader"));
+const TargetList = createFactory(require("../TargetList"));
+const TabTarget = createFactory(require("./Target"));
 
 loader.lazyRequireGetter(this, "DebuggerClient",
   "devtools/shared/client/debugger-client", true);
 
 const Strings = Services.strings.createBundle(
   "chrome://devtools/locale/aboutdebugging.properties");
 
 module.exports = createClass({
rename from devtools/client/aboutdebugging/components/tabs/target.js
rename to devtools/client/aboutdebugging/components/tabs/Target.js
--- a/devtools/client/aboutdebugging/components/tabs/moz.build
+++ b/devtools/client/aboutdebugging/components/tabs/moz.build
@@ -1,8 +1,8 @@
 # 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',
-    'target.js',
+    'Panel.js',
+    'Target.js',
 )
rename from devtools/client/aboutdebugging/components/workers/multi-e10s-warning.js
rename to devtools/client/aboutdebugging/components/workers/MultiE10sWarning.js
rename from devtools/client/aboutdebugging/components/workers/panel.js
rename to devtools/client/aboutdebugging/components/workers/Panel.js
--- a/devtools/client/aboutdebugging/components/workers/panel.js
+++ b/devtools/client/aboutdebugging/components/workers/Panel.js
@@ -8,21 +8,21 @@ loader.lazyImporter(this, "PrivateBrowsi
   "resource://gre/modules/PrivateBrowsingUtils.jsm");
 
 const { Ci } = require("chrome");
 const { createClass, createFactory, DOM: dom, PropTypes } =
   require("devtools/client/shared/vendor/react");
 const { getWorkerForms } = require("../../modules/worker");
 const Services = require("Services");
 
-const PanelHeader = createFactory(require("../panel-header"));
-const TargetList = createFactory(require("../target-list"));
-const WorkerTarget = createFactory(require("./target"));
-const MultiE10SWarning = createFactory(require("./multi-e10s-warning"));
-const ServiceWorkerTarget = createFactory(require("./service-worker-target"));
+const PanelHeader = createFactory(require("../PanelHeader"));
+const TargetList = createFactory(require("../TargetList"));
+const WorkerTarget = createFactory(require("./Target"));
+const MultiE10SWarning = createFactory(require("./MultiE10sWarning"));
+const ServiceWorkerTarget = createFactory(require("./ServiceWorkerTarget"));
 
 loader.lazyImporter(this, "PrivateBrowsingUtils",
   "resource://gre/modules/PrivateBrowsingUtils.jsm");
 
 loader.lazyRequireGetter(this, "DebuggerClient",
   "devtools/shared/client/debugger-client", true);
 
 const Strings = Services.strings.createBundle(
rename from devtools/client/aboutdebugging/components/workers/service-worker-target.js
rename to devtools/client/aboutdebugging/components/workers/ServiceWorkerTarget.js
rename from devtools/client/aboutdebugging/components/workers/target.js
rename to devtools/client/aboutdebugging/components/workers/Target.js
--- a/devtools/client/aboutdebugging/components/workers/moz.build
+++ b/devtools/client/aboutdebugging/components/workers/moz.build
@@ -1,10 +1,10 @@
 # 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(
-    'multi-e10s-warning.js',
-    'panel.js',
-    'service-worker-target.js',
-    'target.js',
+    'MultiE10sWarning.js',
+    'Panel.js',
+    'ServiceWorkerTarget.js',
+    'Target.js',
 )
--- a/devtools/client/aboutdebugging/initializer.js
+++ b/devtools/client/aboutdebugging/initializer.js
@@ -24,17 +24,17 @@ loader.lazyRequireGetter(this, "Telemetr
 const { require } = BrowserLoader({
   baseURI: "resource://devtools/client/aboutdebugging/",
   window
 });
 
 const { createFactory } = require("devtools/client/shared/vendor/react");
 const { render, unmountComponentAtNode } = require("devtools/client/shared/vendor/react-dom");
 
-const AboutDebuggingApp = createFactory(require("./components/aboutdebugging"));
+const AboutDebuggingApp = createFactory(require("./components/Aboutdebugging"));
 
 var AboutDebugging = {
   init() {
     if (!Services.prefs.getBoolPref("devtools.enabled", true)) {
       // If DevTools are disabled, navigate to about:devtools.
       window.location = "about:devtools?reason=AboutDebugging";
       return;
     }