From 6c80f91af49dbbc214c84c16d57436b1bea48b8f Mon Sep 17 00:00:00 2001 From: anushadasari Date: Fri, 30 Aug 2019 12:44:01 +0530 Subject: 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: Icfb0b3ce96d9f0137bdd9445173dd31e27e13305 Signed-off-by: anushadasari --- .../src/main/webapp/app/vid/scripts/controller/iframeController.js | 2 +- .../main/webapp/app/vid/scripts/controller/iframeDialogController.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vid-app-common/src/main') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeController.js index 105c48bae..5f05d210d 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeController.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeController.js @@ -22,6 +22,6 @@ var iframeController = function($scope, $location) { $scope.url = "app/ui/#" + $location.$$url; -} +}; app.controller("iframeController", [ "$scope", "$location", iframeController ]); diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeDialogController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeDialogController.js index e38847060..b4371c4a2 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeDialogController.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeDialogController.js @@ -48,7 +48,7 @@ var iframeDialogController = function (COMPONENT, FIELD, PARAMETER, $scope, $htt $scope.popup.isVisible = false; // } } - }) + }); } $scope.$apply(); } -- cgit 1.2.3-korg