-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #37104 - update katello to support webpack5 changes
- Loading branch information
1 parent
cc1b7cc
commit 7091b11
Showing
6 changed files
with
57 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
engines/bastion/app/assets/javascripts/bastion/bastion-bootstrap.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 45 additions & 29 deletions
74
engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion-katello-bootstrap.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,45 @@ | ||
BASTION_MODULES.push( | ||
'Bastion.capsule-content', | ||
'Bastion.pulp-primary', | ||
'Bastion.activation-keys', | ||
'Bastion.architectures' , | ||
'Bastion.common', | ||
'Bastion.content-views', | ||
'Bastion.content-views.versions', | ||
'Bastion.debs', | ||
'Bastion.docker-tags', | ||
'Bastion.files', | ||
'Bastion.ansible-collections', | ||
'Bastion.hosts', | ||
'Bastion.module-streams', | ||
'Bastion.environments', | ||
'Bastion.content-credentials', | ||
'Bastion.hosts', | ||
'Bastion.capsules', | ||
'Bastion.organizations', | ||
'Bastion.products', | ||
'Bastion.repositories', | ||
'Bastion.subscriptions', | ||
'Bastion.sync-plans', | ||
'Bastion.http-proxies', | ||
'Bastion.host-collections', | ||
'Bastion.content-hosts', | ||
'Bastion.tasks', | ||
'Bastion.settings' | ||
); | ||
var BASTION_MODULES = [ | ||
'angular-blocks', | ||
'ngAnimate', | ||
'ngSanitize', | ||
'templates', | ||
'ui.bootstrap', | ||
'ui.bootstrap.tpls', | ||
'Bastion.auth', | ||
'Bastion.menu', | ||
'Bastion.i18n', | ||
'Bastion.features', | ||
'Bastion.routing', | ||
'Bastion.capsule-content', | ||
'Bastion.pulp-primary', | ||
'Bastion.activation-keys', | ||
'Bastion.architectures', | ||
'Bastion.common', | ||
'Bastion.content-views', | ||
'Bastion.content-views.versions', | ||
'Bastion.debs', | ||
'Bastion.docker-tags', | ||
'Bastion.files', | ||
'Bastion.ansible-collections', | ||
'Bastion.hosts', | ||
'Bastion.module-streams', | ||
'Bastion.environments', | ||
'Bastion.content-credentials', | ||
'Bastion.hosts', | ||
'Bastion.capsules', | ||
'Bastion.organizations', | ||
'Bastion.products', | ||
'Bastion.repositories', | ||
'Bastion.subscriptions', | ||
'Bastion.sync-plans', | ||
'Bastion.http-proxies', | ||
'Bastion.host-collections', | ||
'Bastion.content-hosts', | ||
'Bastion.tasks', | ||
'Bastion.settings' | ||
]; | ||
|
||
// Check if the document has already been bootstrapped. | ||
if (!angular.element(document).injector()) { | ||
angular.bootstrap(document, BASTION_MODULES); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters