diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-10-04 15:45:03 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-10-04 18:15:34 -0400 |
commit | 710011b4fb147bf100c52c4b0425160bba88a0fd (patch) | |
tree | fe398d1d4bd7ca03c502352eef4cbf6aa125b7f1 /POLICY-SDK-APP/src/main/webapp/app/policyApp/service | |
parent | ffd7241c7bfa8d8b68b504406fc6ed4cc299ffe6 (diff) |
Remove unused vars and methods
Removed unused variables and unused methods.
Removed empty ';' statements.
Combined if's that had no content.
Not doing any formatting for javascript right now.
Licenses.
Issue-ID: POLICY-2134
Change-Id: Ib5ec178bd34154281509f57ed15f704e26101f05
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/service')
-rw-r--r-- | POLICY-SDK-APP/src/main/webapp/app/policyApp/service/modalService.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/service/modalService.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/service/modalService.js index 381db7f9a..ceb2ec39f 100644 --- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/service/modalService.js +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/service/modalService.js @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP Policy Engine * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ angular.module("modalServices",[]).service('modalService', ['$modal', function ( this.showSuccess = function(heading, messageBody){ - var modalInstance = $modal.open({ + $modal.open({ templateUrl: 'modal_informative.html', controller: 'modalpopupController', resolve: { @@ -38,7 +38,7 @@ angular.module("modalServices",[]).service('modalService', ['$modal', function ( }); }; this.showFailure = function(heading, messageBody){ - var modalInstance = $modal.open({ + $modal.open({ templateUrl: 'modal_warning.html', controller: 'modalpopupController', resolve: { @@ -54,7 +54,7 @@ angular.module("modalServices",[]).service('modalService', ['$modal', function ( }; this.showMessage = function(heading, messageBody){ - var modalInstance = $modal.open({ + $modal.open({ templateUrl: 'modal_message.html', controller: 'modalpopupController', resolve: { @@ -70,7 +70,7 @@ angular.module("modalServices",[]).service('modalService', ['$modal', function ( }; this.showWarning = function(heading, messageBody){ - var modalInstance = $modal.open({ + $modal.open({ templateUrl: 'modal_warning_message.html', controller: 'modalpopupController', resolve: { @@ -201,4 +201,4 @@ angular.module("modalServices",[]).service('modalService', ['$modal', function ( modalInstance = undefined; }); }; - }]);
\ No newline at end of file + }]); |