updates
This commit is contained in:
+4
-3
@@ -1,3 +1,4 @@
|
||||
import { Ut } from '../utils/Ut';
|
||||
import { Rt } from './Rt';
|
||||
import { dxReady, EvtOptions } from '../utils/dom';
|
||||
|
||||
@@ -46,7 +47,7 @@ export class Boot {
|
||||
|
||||
callback();
|
||||
|
||||
}).catch(err => Boot.log(`Module Err: ${err}`));
|
||||
}).catch(err => Boot.log(err) );
|
||||
});
|
||||
}
|
||||
|
||||
@@ -102,10 +103,10 @@ export class Boot {
|
||||
/**
|
||||
* App Log
|
||||
*/
|
||||
static log(msg) {
|
||||
static log(err) {
|
||||
|
||||
if (Boot.DEBUG) {
|
||||
console.log(msg);
|
||||
console.log(err);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user