mirror of
https://github.com/nasa/openmct.git
synced 2025-05-07 11:08:34 +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
|
* @constructor
|
||||||
*/
|
*/
|
||||||
function ApplicationBootstrapper(angular, document) {
|
function ApplicationBootstrapper(angular, document, $log) {
|
||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
* @method
|
* @method
|
||||||
@ -28,6 +28,7 @@ define(
|
|||||||
* bootstrap
|
* bootstrap
|
||||||
*/
|
*/
|
||||||
bootstrap: function (app) {
|
bootstrap: function (app) {
|
||||||
|
$log.info("Bootstrapping application " + (app || {}).name);
|
||||||
angular.element(document).ready(function () {
|
angular.element(document).ready(function () {
|
||||||
angular.bootstrap(document, [app.name]);
|
angular.bootstrap(document, [app.name]);
|
||||||
});
|
});
|
||||||
|
@ -66,7 +66,8 @@ define(
|
|||||||
),
|
),
|
||||||
bootstrapper = new ApplicationBootstrapper(
|
bootstrapper = new ApplicationBootstrapper(
|
||||||
angular,
|
angular,
|
||||||
window.document
|
window.document,
|
||||||
|
$log
|
||||||
),
|
),
|
||||||
initializer = new FrameworkInitializer(
|
initializer = new FrameworkInitializer(
|
||||||
loader,
|
loader,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user