From: anushadasari Date: Thu, 29 Aug 2019 15:54:47 +0000 (+0530) Subject: Add a semicolon at the end of this statement X-Git-Tag: 5.0.3~49^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=4d45dd55016fff5bb10aca1a2e3b858333c6f93d;p=vid.git Add a semicolon at the end of this statement In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-597 Change-Id: I64c97eaf1877016fe79e6e31caf620f8c99363df Signed-off-by: anushadasari --- diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/deleteResumeDialogController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/deleteResumeDialogController.js index d7b7bab33..4c58f2b79 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/deleteResumeDialogController.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/deleteResumeDialogController.js @@ -69,7 +69,7 @@ var deleteResumeDialogController = function( COMPONENT, FIELD, $scope, $http, $t $scope.userParameterChanged = function(id) { DeleteResumeService.updateUserParameterList(id, $scope.userProvidedControl); - } + }; $scope.confirm = function() { DataService.setE2EService($scope.isE2EService); //VoLTE support @@ -139,13 +139,13 @@ var deleteResumeDialogController = function( COMPONENT, FIELD, $scope, $http, $t } - } + }; $scope.cancel = function() { $scope.isDialogVisible = false; $scope.popup.isVisible = false; runCallback(false); - } + }; var runCallback = function(isSuccessful) { if (angular.isFunction(callbackFunction)) { @@ -153,8 +153,8 @@ var deleteResumeDialogController = function( COMPONENT, FIELD, $scope, $http, $t isSuccessful : isSuccessful }); } - } -} + }; +}; appDS2.controller("deleteResumeDialogController", [ "COMPONENT", "FIELD", "$scope", "$http", "$timeout", "$log", "DataService", "DeleteResumeService","CreationService", "UtilityService",