summaryrefslogtreecommitdiffstats
path: root/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/manifestService.js
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-04-18 09:11:56 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-04-18 09:12:03 +0800
commitd698af153772ca4351ad3b23fbb987fc749890af (patch)
tree8fa49f10523134f9596814ef7a30528e298ac660 /usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/manifestService.js
parentffffd8a35ae5fcea703a7427844037c07c232b92 (diff)
Fix Security/Vulnerability problems
Change-Id: Ie0f2c9e0794941d9b9a7f00a6c3d349269d98ed1 Issue-ID: USECASEUI-104 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/manifestService.js')
-rw-r--r--usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/manifestService.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/manifestService.js b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/manifestService.js
deleted file mode 100644
index 27e3a6ec..00000000
--- a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/manifestService.js
+++ /dev/null
@@ -1,24 +0,0 @@
-appDS2.factory('ManifestService', function ($http, $q, $log) {
- return {
- // Gets and returns the manifest for the webapp.
- getManifest: function() {
- // cache control for IE
- var cc = "?cc=" + new Date().getTime().toString();
- return $http({
- method: 'GET',
- url: 'manifest' + cc,
- cache: false,
- responseType: 'json'})
- .then(function(response) {
- // $log.debug("ManifestService.getManifest: " + JSON.stringify(response));
- if (response.data == null || typeof response.data != 'object')
- return $q.reject('ManifestService.getManifest: response.data null or not object');
- else
- return response.data;
- }, function(error) {
- $log.error('ManifestService.getManifest failed: ' + error.data);
- return $q.reject(error.data);
- });
- }
- };
-});