Add a semicolon at the end of this statement 16/94616/2
authoranushadasari <danush10@in.ibm.com>
Thu, 29 Aug 2019 15:54:47 +0000 (21:24 +0530)
committerIttay Stern <ittay.stern@att.com>
Mon, 2 Sep 2019 10:32:48 +0000 (10:32 +0000)
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 <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/controller/deleteResumeDialogController.js

index d7b7bab..4c58f2b 100644 (file)
@@ -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",