Add a semicolon at the end of this statement 59/94659/2
authoranushadasari <danush10@in.ibm.com>
Fri, 30 Aug 2019 07:14:01 +0000 (12:44 +0530)
committerIttay Stern <ittay.stern@att.com>
Mon, 2 Sep 2019 10:32:06 +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: Icfb0b3ce96d9f0137bdd9445173dd31e27e13305
Signed-off-by: anushadasari <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeController.js
vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeDialogController.js

index 105c48b..5f05d21 100644 (file)
@@ -22,6 +22,6 @@
 
 var iframeController = function($scope, $location) {
     $scope.url = "app/ui/#" +  $location.$$url;
-}
+};
 
 app.controller("iframeController", [ "$scope", "$location", iframeController ]);
index e388470..b4371c4 100644 (file)
@@ -48,7 +48,7 @@ var iframeDialogController = function (COMPONENT, FIELD, PARAMETER, $scope, $htt
                     $scope.popup.isVisible = false;
                     // }
                 }
-            })
+            });
         }
         $scope.$apply();
     }