Bug 1452064 - CamelCase all React component files for DOM panel. r=Honza
authorMiguel Useche <migueluseche@mozilla-hispano.org>
Sat, 14 Apr 2018 16:13:01 -0400
changeset 467692 19faa628ee0317fa2435be2aa85e24166a63a834
parent 467691 3f95bbb60e4399e9b7533aec0f42e52539f8b235
child 467693 d6bf22099e2195dcb64c3c3d7700d3edd0850a3a
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersHonza
bugs1452064
milestone61.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 1452064 - CamelCase all React component files for DOM panel. r=Honza
devtools/client/dom/content/components/DomTree.js
devtools/client/dom/content/components/MainFrame.js
devtools/client/dom/content/components/MainToolbar.js
devtools/client/dom/content/components/dom-tree.js
devtools/client/dom/content/components/main-frame.js
devtools/client/dom/content/components/main-toolbar.js
devtools/client/dom/content/components/moz.build
devtools/client/dom/content/dom-view.js
rename from devtools/client/dom/content/components/dom-tree.js
rename to devtools/client/dom/content/components/DomTree.js
rename from devtools/client/dom/content/components/main-frame.js
rename to devtools/client/dom/content/components/MainFrame.js
--- a/devtools/client/dom/content/components/main-frame.js
+++ b/devtools/client/dom/content/components/MainFrame.js
@@ -9,19 +9,19 @@
 
 // React & Redux
 const { Component, createFactory } = require("devtools/client/shared/vendor/react");
 const dom = require("devtools/client/shared/vendor/react-dom-factories");
 const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
 
 const { connect } = require("devtools/client/shared/vendor/react-redux");
 // DOM Panel
-const DomTree = createFactory(require("./dom-tree"));
+const DomTree = createFactory(require("./DomTree"));
 
-const MainToolbar = createFactory(require("./main-toolbar"));
+const MainToolbar = createFactory(require("./MainToolbar"));
 // Shortcuts
 const { div } = dom;
 
 /**
  * Renders basic layout of the DOM panel. The DOM panel content consists
  * from two main parts: toolbar and tree.
  */
 class MainFrame extends Component {
rename from devtools/client/dom/content/components/main-toolbar.js
rename to devtools/client/dom/content/components/MainToolbar.js
--- a/devtools/client/dom/content/components/moz.build
+++ b/devtools/client/dom/content/components/moz.build
@@ -1,10 +1,10 @@
 # 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(
-    'dom-tree.js',
-    'main-frame.js',
-    'main-toolbar.js'
+    'DomTree.js',
+    'MainFrame.js',
+    'MainToolbar.js'
 )
--- a/devtools/client/dom/content/dom-view.js
+++ b/devtools/client/dom/content/dom-view.js
@@ -7,17 +7,17 @@
 
 // React & Redux
 const React = require("devtools/client/shared/vendor/react");
 const ReactDOM = require("devtools/client/shared/vendor/react-dom");
 const { Provider } = require("devtools/client/shared/vendor/react-redux");
 const { combineReducers } = require("devtools/client/shared/vendor/redux");
 
 // DOM Panel
-const MainFrame = React.createFactory(require("./components/main-frame"));
+const MainFrame = React.createFactory(require("./components/MainFrame"));
 
 // Store
 const createStore = require("devtools/client/shared/redux/create-store")({
   log: false
 });
 
 const { reducers } = require("./reducers/index");
 const store = createStore(combineReducers(reducers));