mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 13:18:15 +00:00
[API] Load bundles from imperative registry
This commit is contained in:
@ -55,11 +55,15 @@ define([
|
||||
this.$log = $log;
|
||||
}
|
||||
|
||||
FrameworkLayer.prototype.initializeApplication = function (angular, logLevel) {
|
||||
FrameworkLayer.prototype.initializeApplication = function (
|
||||
angular,
|
||||
legacyRegistry,
|
||||
logLevel
|
||||
) {
|
||||
var $http = this.$http,
|
||||
$log = this.$log,
|
||||
app = angular.module(Constants.MODULE_NAME, ["ngRoute"]),
|
||||
loader = new BundleLoader($http, $log),
|
||||
loader = new BundleLoader($http, $log, legacyRegistry),
|
||||
resolver = new BundleResolver(
|
||||
new ExtensionResolver(
|
||||
new ImplementationLoader(require),
|
||||
|
Reference in New Issue
Block a user