aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-03 11:57:47 +0530
committerIttay Stern <ittay.stern@att.com>2019-09-10 13:12:31 +0000
commitf4db9059de00b2c0a0b0316fd294d74025e5189e (patch)
treed85509e5b61213bf6e6ad60c0ffd193d0a8a4ff9
parent1b4336d9c26c4febe86036900bfa7994c0fadca5 (diff)
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 <danush10@in.ibm.com>
-rw-r--r--vid-app-common/src/main/webapp/app/vid/scripts/controller/previousVersionContoller.js6
1 files changed, 2 insertions, 4 deletions
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",