Bug 1402389 - CamelCase all React components oin devtools/client/memory/components; r=ystartsev+600802

MozReview-Commit-ID: 7xYrykIkLIv

--HG--
rename : devtools/client/memory/components/census.js => devtools/client/memory/components/Census.js
rename : devtools/client/memory/components/census-header.js => devtools/client/memory/components/CensusHeader.js
rename : devtools/client/memory/components/census-tree-item.js => devtools/client/memory/components/CensusTreeItem.js
rename : devtools/client/memory/components/dominator-tree.js => devtools/client/memory/components/DominatorTree.js
rename : devtools/client/memory/components/dominator-tree-header.js => devtools/client/memory/components/DominatorTreeHeader.js
rename : devtools/client/memory/components/dominator-tree-item.js => devtools/client/memory/components/DominatorTreeItem.js
rename : devtools/client/memory/components/heap.js => devtools/client/memory/components/Heap.js
rename : devtools/client/memory/components/individuals.js => devtools/client/memory/components/Individuals.js
rename : devtools/client/memory/components/individuals-header.js => devtools/client/memory/components/IndividualsHeader.js
rename : devtools/client/memory/components/list.js => devtools/client/memory/components/List.js
rename : devtools/client/memory/components/shortest-paths.js => devtools/client/memory/components/ShortestPaths.js
rename : devtools/client/memory/components/snapshot-list-item.js => devtools/client/memory/components/SnapshotListItem.js
rename : devtools/client/memory/components/toolbar.js => devtools/client/memory/components/Toolbar.js
rename : devtools/client/memory/components/tree-map.js => devtools/client/memory/components/TreeMap.js
extra : rebase_source : 03964042473cbad89e83578b9dcf664f1b2f99ea
This commit is contained in:
Patrick Brosset 2017-10-09 11:05:34 +02:00
Родитель 5a9cffd40a
Коммит 3705a46373
18 изменённых файлов: 39 добавлений и 39 удалений

Просмотреть файл

@ -45,10 +45,10 @@ const {
} = require("./actions/snapshot");
const { changeViewAndRefresh, popViewAndRefresh } = require("./actions/view");
const { resizeShortestPaths } = require("./actions/sizes");
const Toolbar = createFactory(require("./components/toolbar"));
const List = createFactory(require("./components/list"));
const SnapshotListItem = createFactory(require("./components/snapshot-list-item"));
const Heap = createFactory(require("./components/heap"));
const Toolbar = createFactory(require("./components/Toolbar"));
const List = createFactory(require("./components/List"));
const SnapshotListItem = createFactory(require("./components/SnapshotListItem"));
const Heap = createFactory(require("./components/Heap"));
const { app: appModel } = require("./models");
const MemoryApp = createClass({

Просмотреть файл

@ -6,7 +6,7 @@
const { createClass, PropTypes, createFactory } = require("devtools/client/shared/vendor/react");
const Tree = createFactory(require("devtools/client/shared/components/Tree"));
const CensusTreeItem = createFactory(require("./census-tree-item"));
const CensusTreeItem = createFactory(require("./CensusTreeItem"));
const { TREE_ROW_HEIGHT } = require("../constants");
const { censusModel, diffingModel } = require("../models");

Просмотреть файл

@ -8,7 +8,7 @@ const { DOM: dom, createClass, PropTypes, createFactory } = require("devtools/cl
const { assert } = require("devtools/shared/DevToolsUtils");
const { createParentMap } = require("devtools/shared/heapsnapshot/CensusUtils");
const Tree = createFactory(require("devtools/client/shared/components/Tree"));
const DominatorTreeItem = createFactory(require("./dominator-tree-item"));
const DominatorTreeItem = createFactory(require("./DominatorTreeItem"));
const { L10N } = require("../utils");
const { TREE_ROW_HEIGHT, dominatorTreeState } = require("../constants");
const { dominatorTreeModel } = require("../models");

Просмотреть файл

@ -6,15 +6,15 @@
const { DOM: dom, createClass, PropTypes, createFactory } = require("devtools/client/shared/vendor/react");
const { assert, safeErrorString } = require("devtools/shared/DevToolsUtils");
const Census = createFactory(require("./census"));
const CensusHeader = createFactory(require("./census-header"));
const DominatorTree = createFactory(require("./dominator-tree"));
const DominatorTreeHeader = createFactory(require("./dominator-tree-header"));
const TreeMap = createFactory(require("./tree-map"));
const Census = createFactory(require("./Census"));
const CensusHeader = createFactory(require("./CensusHeader"));
const DominatorTree = createFactory(require("./DominatorTree"));
const DominatorTreeHeader = createFactory(require("./DominatorTreeHeader"));
const TreeMap = createFactory(require("./TreeMap"));
const HSplitBox = createFactory(require("devtools/client/shared/components/HSplitBox"));
const Individuals = createFactory(require("./individuals"));
const IndividualsHeader = createFactory(require("./individuals-header"));
const ShortestPaths = createFactory(require("./shortest-paths"));
const Individuals = createFactory(require("./Individuals"));
const IndividualsHeader = createFactory(require("./IndividualsHeader"));
const ShortestPaths = createFactory(require("./ShortestPaths"));
const { getStatusTextFull, L10N } = require("../utils");
const {
snapshotState: states,

Просмотреть файл

@ -6,7 +6,7 @@
const { createClass, PropTypes, createFactory } = require("devtools/client/shared/vendor/react");
const Tree = createFactory(require("devtools/client/shared/components/Tree"));
const DominatorTreeItem = createFactory(require("./dominator-tree-item"));
const DominatorTreeItem = createFactory(require("./DominatorTreeItem"));
const { TREE_ROW_HEIGHT } = require("../constants");
const models = require("../models");

Просмотреть файл

@ -8,18 +8,18 @@ DIRS += [
]
DevToolsModules(
'census-header.js',
'census-tree-item.js',
'census.js',
'dominator-tree-header.js',
'dominator-tree-item.js',
'dominator-tree.js',
'heap.js',
'individuals-header.js',
'individuals.js',
'list.js',
'shortest-paths.js',
'snapshot-list-item.js',
'toolbar.js',
'tree-map.js',
'Census.js',
'CensusHeader.js',
'CensusTreeItem.js',
'DominatorTree.js',
'DominatorTreeHeader.js',
'DominatorTreeItem.js',
'Heap.js',
'Individuals.js',
'IndividualsHeader.js',
'List.js',
'ShortestPaths.js',
'SnapshotListItem.js',
'Toolbar.js',
'TreeMap.js',
)

Просмотреть файл

@ -49,15 +49,15 @@ var models = require("devtools/client/memory/models");
var Immutable = require("devtools/client/shared/vendor/immutable");
var React = require("devtools/client/shared/vendor/react");
var ReactDOM = require("devtools/client/shared/vendor/react-dom");
var Heap = React.createFactory(require("devtools/client/memory/components/heap"));
var CensusTreeItem = React.createFactory(require("devtools/client/memory/components/census-tree-item"));
var DominatorTreeComponent = React.createFactory(require("devtools/client/memory/components/dominator-tree"));
var DominatorTreeItem = React.createFactory(require("devtools/client/memory/components/dominator-tree-item"));
var ShortestPaths = React.createFactory(require("devtools/client/memory/components/shortest-paths"));
var TreeMap = React.createFactory(require("devtools/client/memory/components/tree-map"));
var SnapshotListItem = React.createFactory(require("devtools/client/memory/components/snapshot-list-item"));
var List = React.createFactory(require("devtools/client/memory/components/list"));
var Toolbar = React.createFactory(require("devtools/client/memory/components/toolbar"));
var Heap = React.createFactory(require("devtools/client/memory/components/Heap"));
var CensusTreeItem = React.createFactory(require("devtools/client/memory/components/CensusTreeItem"));
var DominatorTreeComponent = React.createFactory(require("devtools/client/memory/components/DominatorTree"));
var DominatorTreeItem = React.createFactory(require("devtools/client/memory/components/DominatorTreeItem"));
var ShortestPaths = React.createFactory(require("devtools/client/memory/components/ShortestPaths"));
var TreeMap = React.createFactory(require("devtools/client/memory/components/TreeMap"));
var SnapshotListItem = React.createFactory(require("devtools/client/memory/components/SnapshotListItem"));
var List = React.createFactory(require("devtools/client/memory/components/List"));
var Toolbar = React.createFactory(require("devtools/client/memory/components/Toolbar"));
// All tests are asynchronous.
SimpleTest.waitForExplicitFinish();

Просмотреть файл

@ -34,7 +34,7 @@ html, body, #app, #memory-tool {
--sidebar-width: 185px;
/**
* If --heap-tree-row-height changes, be sure to change HEAP_TREE_ROW_HEIGHT
* in `devtools/client/memory/components/heap.js`.
* in `devtools/client/memory/components/Heap.js`.
*/
--heap-tree-row-height: 18px;
--heap-tree-header-height: 18px;