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 6464 "backoff" : " ^2.4.1" ,
6565 "bootstrap" : " https://github.com/twbs/bootstrap/archive/v3.3.5.tar.gz" ,
6666 "d3" : " ^3.5.6" ,
67- "debug" : " ^2.2.0 " ,
67+ "debug" : " mongodb-js/debug " ,
6868 "debug-menu" : " ^0.3.0" ,
6969 "electron-squirrel-startup" : " ^0.1.4" ,
7070 "font-awesome" : " https://github.com/FortAwesome/Font-Awesome/archive/v4.4.0.tar.gz" ,
Original file line number Diff line number Diff line change 1010 < div data-hook ="statusbar "> </ div >
1111 < div data-hook ="layout-container "> </ div >
1212 </ div >
13+ < script src ="index.js " charset ="UTF-8 " async > </ script >
1314 < script >
1415 window . less = {
1516 env : process . env . NODE_ENV ,
1617 logLevel : 2 ,
1718 async : true
1819 } ;
19- if ( process . env . NODE_ENV !== 'production' ) {
20- require ( 'debug' ) . enable ( 'mon*' ) ;
21- }
2220 </ 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 >
2622 </ body >
2723</ html >
Original file line number Diff line number Diff line change 11/* 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+
76var debug = require ( 'debug' ) ( 'mongodb-compass:app' ) ;
87console . time ( 'app/index.js' ) ;
98
10-
119/**
1210 * The main entrypoint for the application!
1311 */
You can’t perform that action at this time.
0 commit comments