From 81f7b4980d26ff0059041904c545d99828c46490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Vachon?= Date: Tue, 10 Feb 2015 10:47:31 -0500 Subject: [PATCH] Refactor: Dashboard module name and refactor dependencies --- app/app.js | 4 +--- app/components/table/table.js | 1 + app/dashboard/dashboard.js | 10 ++++------ 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app/app.js b/app/app.js index eff8a10..34f1bad 100644 --- a/app/app.js +++ b/app/app.js @@ -17,10 +17,8 @@ angular.module('adagios', [ 'ngRoute', 'adagios.sidebar', 'adagios.topbar', - 'adagios.tactical', - 'adagios.table', - 'adagios.filters', 'adagios.config', + 'adagios.view.dashboard', 'adagios.view.hosts', 'adagios.view.services' ]) diff --git a/app/components/table/table.js b/app/components/table/table.js index ac68524..04cbdb4 100644 --- a/app/components/table/table.js +++ b/app/components/table/table.js @@ -1,6 +1,7 @@ 'use strict'; angular.module('adagios.table', ['adagios.live', + 'adagios.filters', 'adagios.table.cell_host', 'adagios.table.cell_duration', 'adagios.table.cell_service_check', diff --git a/app/dashboard/dashboard.js b/app/dashboard/dashboard.js index e2b1764..5fbe7db 100644 --- a/app/dashboard/dashboard.js +++ b/app/dashboard/dashboard.js @@ -1,11 +1,9 @@ 'use strict'; -angular.module('adagios.tactical', ['ngRoute', - 'adagios.tactical.status_overview', - 'adagios.tactical.current_health', - 'adagios.tactical.top_alert_producers', - 'adagios.table' - ]) +angular.module('adagios.view.dashboard', ['ngRoute', + 'adagios.tactical', + 'adagios.table' + ]) .value('dashboardConfig', {})