Skip to content

Commit 7df998d

Browse files
authored
Merge pull request #3 from oslabs-beta/peng
trying to add snapshot graph
2 parents f84d8ef + 870af30 commit 7df998d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/app/components/BarGraph.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ const BarGraph = props => {
7878
});
7979
const keys = Object.keys(data.componentData);
8080
console.log('this is data in barGraph.tsx: ', data);
81-
console.log('these are the data\'s keys: ', keys)
81+
console.log('these are the data\'s keys: ', keys);
8282

8383
// data accessor (used to generate scales) and formatter (add units for on hover box)
8484
const getSnapshotId = (d: snapshot) => {
8585
console.log('snapshot object here: ', d);
8686
return d.snapshotId;
87-
}
87+
};
8888
const formatSnapshotId = id => `Snapshot ID: ${id}`;
8989
const formatRenderTime = time => `${time} ms `;
9090

@@ -104,8 +104,6 @@ const BarGraph = props => {
104104
range: schemeSet3,
105105
});
106106

107-
console.log()
108-
109107
// setting max dimensions and scale ranges
110108
const xMax = width - margin.left - margin.right;
111109
const yMax = height - margin.top - 150;

src/extension/build/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"content_scripts": [
1515
{
16-
"matches": ["<all_urls>"],
16+
"matches": ["http://localhost/*"],
1717
"js": ["bundles/content.bundle.js"]
1818
}
1919
],

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"compilerOptions": {
33
"outDir": "./src/extension/build/bundles/",
44
"module": "es6",
5+
//"noImplicitAny": true,
56
"target": "es5",
67
"jsx": "react",
78
"removeComments": true,

0 commit comments

Comments
 (0)