mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 21:27:52 +00:00
[Framework] Log application bootstrapping
Log bootstrapping phase of framework layer initialization. WTD-518.
This commit is contained in:
parent
d3c979fa6f
commit
ed4c178a76
@ -19,7 +19,7 @@ define(
|
||||
*
|
||||
* @constructor
|
||||
*/
|
||||
function ApplicationBootstrapper(angular, document) {
|
||||
function ApplicationBootstrapper(angular, document, $log) {
|
||||
return {
|
||||
/**
|
||||
* @method
|
||||
@ -28,6 +28,7 @@ define(
|
||||
* bootstrap
|
||||
*/
|
||||
bootstrap: function (app) {
|
||||
$log.info("Bootstrapping application " + (app || {}).name);
|
||||
angular.element(document).ready(function () {
|
||||
angular.bootstrap(document, [app.name]);
|
||||
});
|
||||
|
@ -66,7 +66,8 @@ define(
|
||||
),
|
||||
bootstrapper = new ApplicationBootstrapper(
|
||||
angular,
|
||||
window.document
|
||||
window.document,
|
||||
$log
|
||||
),
|
||||
initializer = new FrameworkInitializer(
|
||||
loader,
|
||||
|
Loading…
Reference in New Issue
Block a user