From f4db9059de00b2c0a0b0316fd294d74025e5189e Mon Sep 17 00:00:00 2001 From: anushadasari Date: Tue, 3 Sep 2019 11:57:47 +0530 Subject: Semicolon at the end of the Statement and Remove trailing whitespaces at the end of this line 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 --- .../webapp/app/vid/scripts/controller/previousVersionContoller.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/controller') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/previousVersionContoller.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/previousVersionContoller.js index 1db2649ea..08767ad2b 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/previousVersionContoller.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/previousVersionContoller.js @@ -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", -- cgit 1.2.3-korg