File tree Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 64
64
"backoff" : " ^2.4.1" ,
65
65
"bootstrap" : " https://github.com/twbs/bootstrap/archive/v3.3.5.tar.gz" ,
66
66
"d3" : " ^3.5.6" ,
67
- "debug" : " ^2.2.0 " ,
67
+ "debug" : " mongodb-js/debug " ,
68
68
"debug-menu" : " ^0.3.0" ,
69
69
"electron-squirrel-startup" : " ^0.1.4" ,
70
70
"font-awesome" : " https://github.com/FortAwesome/Font-Awesome/archive/v4.4.0.tar.gz" ,
Original file line number Diff line number Diff line change 10
10
< div data-hook ="statusbar "> </ div >
11
11
< div data-hook ="layout-container "> </ div >
12
12
</ div >
13
+ < script src ="index.js " charset ="UTF-8 " async > </ script >
13
14
< script >
14
15
window . less = {
15
16
env : process . env . NODE_ENV ,
16
17
logLevel : 2 ,
17
18
async : true
18
19
} ;
19
- if ( process . env . NODE_ENV !== 'production' ) {
20
- require ( 'debug' ) . enable ( 'mon*' ) ;
21
- }
22
20
</ script >
23
- < script src ="index.js " charset ="UTF-8 " async > </ script >
24
- < script src ="../../node_modules/less/dist/less.js " charset ="UTF-8 "> </ script >
25
- < script > // less.watch(); </ script >
21
+ < script src ="../../node_modules/less/dist/less.js " charset ="UTF-8 " async > </ script >
26
22
</ body >
27
23
</ html >
Original file line number Diff line number Diff line change 1
1
/* eslint no-console:0 */
2
- /**
3
- * Explicitly require debug module in browser mode,
4
- * or no messages will be logged to the devtools console.
5
- */
6
- require ( 'debug/browser' ) ;
2
+ if ( process . env . NODE_ENV !== 'production' ) {
3
+ require ( 'debug' ) . enable ( 'mon*' ) ;
4
+ }
5
+
7
6
var debug = require ( 'debug' ) ( 'mongodb-compass:app' ) ;
8
7
console . time ( 'app/index.js' ) ;
9
8
10
-
11
9
/**
12
10
* The main entrypoint for the application!
13
11
*/
You can’t perform that action at this time.
0 commit comments