File tree 2 files changed +22
-2
lines changed
packages/compass-serverstats
2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1
1
module . exports . d3 = require ( './lib/d3/' ) ;
2
+ const app = require ( 'hadron-app' ) ;
3
+ const RTSSComponent = require ( './lib/components' ) ;
4
+ /**
5
+ * Activate all the components in the RTSS package.
6
+ */
7
+ function activate ( ) {
8
+ app . appRegistry . registerComponent ( 'RTSS.ServerStats' , RTSSComponent ) ;
9
+ }
10
+
11
+ /**
12
+ * Deactivate all the components in the RTSS package.
13
+ */
14
+ function deactivate ( ) {
15
+ app . appRegistry . deregisterComponent ( 'RTSS.ServerStats' ) ;
16
+ }
17
+
18
+ module . exports . activate = activate ;
19
+ module . exports . deactivate = deactivate ;
Original file line number Diff line number Diff line change 24
24
],
25
25
"license" : " Apache-2.0" ,
26
26
"dependencies" : {
27
- "d3" : " ^3.5.17" ,
28
27
"babel-cli" : " ^6.10.1" ,
29
28
"babel-preset-react" : " ^6.11.1" ,
30
- "hadron-app" : " ^0.0.4"
29
+ "d3" : " ^3.5.17" ,
30
+ "hadron-app" : " ^0.0.7" ,
31
+ "mongodb-js-errors" : " ^0.3.2"
31
32
},
32
33
"devDependencies" : {
33
34
"@kadira/react-storybook-addon-info" : " ^3.2.1" ,
41
42
"electron-prebuilt" : " ^1.2.6" ,
42
43
"enzyme" : " ^2.4.1" ,
43
44
"eslint-config-mongodb-js" : " ^2.1.0" ,
45
+ "hadron-app" : " ^0.0.7" ,
44
46
"hadron-app-registry" : " ^4.0.0" ,
45
47
"jquery" : " ^3.1.1" ,
46
48
"jsdom" : " ^9.4.2" ,
You can’t perform that action at this time.
0 commit comments