mirror of
https://github.com/nasa/openmct.git
synced 2025-04-10 04:40:05 +00:00
Merge pull request #1443 from nasa/remove-old-bundle-loading
Stop loading bundles.json
This commit is contained in:
commit
4b905fa7d2
@ -25,7 +25,6 @@
|
||||
*/
|
||||
define({
|
||||
MODULE_NAME: "OpenMCTWeb",
|
||||
BUNDLE_LISTING_FILE: "bundles.json",
|
||||
BUNDLE_FILE: "bundle.json",
|
||||
SEPARATOR: "/",
|
||||
EXTENSION_SUFFIX: "[]",
|
||||
|
@ -61,8 +61,8 @@ define(
|
||||
* @param bundleList
|
||||
* @returns {*}
|
||||
*/
|
||||
FrameworkInitializer.prototype.runApplication = function (bundleList) {
|
||||
return this.loader.loadBundles(bundleList)
|
||||
FrameworkInitializer.prototype.runApplication = function () {
|
||||
return this.loader.loadBundles([])
|
||||
.then(bind(this.resolver.resolveBundles, this.resolver))
|
||||
.then(bind(this.registrar.registerExtensions, this.registrar))
|
||||
.then(bind(this.bootstrapper.bootstrap, this.bootstrapper));
|
||||
|
@ -98,7 +98,7 @@ define([
|
||||
|
||||
// Initialize the application
|
||||
$log.info("Initializing application.");
|
||||
initializer.runApplication(Constants.BUNDLE_LISTING_FILE);
|
||||
initializer.runApplication();
|
||||
};
|
||||
|
||||
return FrameworkLayer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user