summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-06-27 15:42:07 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-08-24 21:00:32 +0000
commit1d5f52cef41d4dfd9b8b59221d89658fb7f9e1df (patch)
tree20879f7c3acec61cc7932f60fddf8fc4c205e403
parent006aaa0fd3df33f4029b5a19b1c5d712f72b9296 (diff)
downloadphosphor-webui-1d5f52cef41d4dfd9b8b59221d89658fb7f9e1df.tar.gz
phosphor-webui-1d5f52cef41d4dfd9b8b59221d89658fb7f9e1df.zip
Add config.json file
This config file will hold such data as page selection. E.g. "powerManagement":false would disable importing the power management page. This file would be overwrote in bbappends. Change-Id: I740503c61b28e97792a91823cb37c7ae549650a9 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--app/index.js1
-rw-r--r--config.json3
2 files changed, 4 insertions, 0 deletions
diff --git a/app/index.js b/app/index.js
index 4d9ed64..b57d495 100644
--- a/app/index.js
+++ b/app/index.js
@@ -24,6 +24,7 @@ import angular_utils from 'angularUtils/src/angularUtils.js';
import angular_utils_pagination from 'angularUtils/src/directives/pagination/dirPagination.js';
require('./styles/index.scss');
+var config = require('../config.json');
// TODO(Ed) clean this up, add the appropriate imports to phosphor-webui
diff --git a/config.json b/config.json
new file mode 100644
index 0000000..0db3279
--- /dev/null
+++ b/config.json
@@ -0,0 +1,3 @@
+{
+
+}
OpenPOWER on IntegriCloud