Semicolon at the end of the Statement and Remove trailing whitespaces at the end... 92/94792/3
authoranushadasari <danush10@in.ibm.com>
Tue, 3 Sep 2019 06:27:47 +0000 (11:57 +0530)
committerIttay Stern <ittay.stern@att.com>
Tue, 10 Sep 2019 13:12:31 +0000 (13:12 +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-606
Change-Id: Ib1484f91b4b47457c4150b536d420ffc1e6902b4
Signed-off-by: anushadasari <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/controller/previousVersionContoller.js

index 1db2649..08767ad 100644 (file)
@@ -49,10 +49,8 @@ var previousVersionContoller = function( COMPONENT, FIELD, $scope, $http, $timeo
        $scope.cancelTable = function(){
                $scope.isTableDialogVisible = false;
                $scope.popup.isTablePopUpVisible = false;
-       }
-       
-       
-}
+       };      
+};
 
 app
                .controller("previousVersionContoller", [ "COMPONENT", "FIELD", "$scope", "$http",