mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Removes dupclicate Angular import, and removes tower.app.js module from network UI
This commit is contained in:
parent
a009d21edc
commit
b154949639
@ -43,7 +43,7 @@ import atLibComponents from '~components';
|
||||
import atLibModels from '~models';
|
||||
import atLibServices from '~services';
|
||||
|
||||
import networkUI from '~network-ui/main';
|
||||
import networkUI from '~network-ui/network.ui.app';
|
||||
|
||||
start.bootstrap(() => {
|
||||
angular.bootstrap(document.body, ['awApp']);
|
||||
@ -91,7 +91,7 @@ angular
|
||||
users.name,
|
||||
projects.name,
|
||||
scheduler.name,
|
||||
networkUI.tower.name,
|
||||
networkUI.name,
|
||||
|
||||
'Utilities',
|
||||
'templates',
|
||||
|
@ -1,5 +0,0 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var networkUI = require('./network.ui.app.js');
|
||||
var tower = require('./tower.app.js');
|
||||
exports.networkUI = networkUI.networkUI;
|
||||
exports.tower = tower.tower;
|
@ -5,7 +5,6 @@ import networkDetailsDirective from './network-details/main';
|
||||
import networkZoomWidget from './zoom-widget/main';
|
||||
|
||||
//console.log = function () { };
|
||||
var angular = require('angular');
|
||||
var NetworkUIController = require('./network.ui.controller.js');
|
||||
var cursor = require('./cursor.directive.js');
|
||||
var router = require('./router.directive.js');
|
||||
@ -21,7 +20,8 @@ var debug = require('./debug.directive.js');
|
||||
var test_results = require('./test_results.directive.js');
|
||||
var awxNetworkUI = require('./network.ui.directive.js');
|
||||
|
||||
var networkUI = angular.module('networkUI', [
|
||||
export default
|
||||
angular.module('networkUI', [
|
||||
'monospaced.mousewheel',
|
||||
atFeaturesNetworking,
|
||||
networkDetailsDirective.name,
|
||||
@ -41,5 +41,3 @@ var networkUI = angular.module('networkUI', [
|
||||
.directive('awxNetInventoryToolbox', inventoryToolbox.inventoryToolbox)
|
||||
.directive('awxNetTestResults', test_results.test_results)
|
||||
.directive('awxNetworkUi', awxNetworkUI.awxNetworkUI);
|
||||
|
||||
exports.networkUI = networkUI;
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var angular = require('angular');
|
||||
var fsm = require('./fsm.js');
|
||||
var mode_fsm = require('./mode.fsm.js');
|
||||
var hotkeys = require('./hotkeys.fsm.js');
|
||||
|
@ -1,8 +0,0 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
var angular = require('angular');
|
||||
|
||||
var tower = angular.module('tower', ['networkUI', 'ui.router']);
|
||||
|
||||
exports.tower = tower;
|
||||
|
Loading…
Reference in New Issue
Block a user