Remove unused app/constants/ dir
All the constants are defined here:
https://github.com/openbmc/phosphor-webui/blob/master/app/common/services/constants.js
Constants are injected as part of app.common.services.
This environment-constants.js or environment-constants.json could
be repurposed to configure features but going with something else,
https://gerrit.openbmc-project.xyz/#/c/11311/.
Tested: Quick manual regression test on the pages.
Change-Id: I59ba4f47fe8a927cb5f68a2657dfea9c61cd5f28
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/index.js b/app/index.js
index f9f3051..7154c0b 100644
--- a/app/index.js
+++ b/app/index.js
@@ -27,9 +27,6 @@
// TODO(Ed) clean this up, add the appropriate imports to phosphor-webui
-import constants_index from './constants/index.js';
-import environment_constants from './constants/environment-constants.js';
-
import services_index from './common/services/index.js';
import constants from './common/services/constants.js';
import dataService from './common/services/dataService.js';
@@ -102,9 +99,8 @@
'ngRoute', 'angular-clipboard',
'angularUtils.directives.dirPagination',
// Basic resources
- 'app.constants', 'app.templates', 'app.vendors',
- 'app.common.services', 'app.common.directives',
- 'app.common.filters',
+ 'app.templates', 'app.vendors', 'app.common.services',
+ 'app.common.directives', 'app.common.filters',
// Model resources
'app.login', 'app.overview', 'app.serverControl',
'app.serverHealth', 'app.configuration', 'app.users',