mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 14:18:16 +00:00
[API] Load bundles from imperative registry
This commit is contained in:
@ -56,7 +56,7 @@ define(
|
||||
function Main() {
|
||||
}
|
||||
|
||||
Main.prototype.run = function () {
|
||||
Main.prototype.run = function (legacyRegistry) {
|
||||
// Get a reference to Angular's injector, so we can get $http and $log
|
||||
// services, which are useful to the framework layer.
|
||||
var injector = angular.injector(['ng']);
|
||||
@ -74,7 +74,7 @@ define(
|
||||
// to the root now.
|
||||
requirejs.config({"baseUrl": ""});
|
||||
injector.instantiate(['$http', '$log', FrameworkLayer])
|
||||
.initializeApplication(angular, logLevel());
|
||||
.initializeApplication(angular, legacyRegistry, logLevel());
|
||||
};
|
||||
|
||||
return Main;
|
||||
|
Reference in New Issue
Block a user