summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-08-30 12:44:01 +0530
committerIttay Stern <ittay.stern@att.com>2019-09-02 10:32:06 +0000
commit6c80f91af49dbbc214c84c16d57436b1bea48b8f (patch)
treeac8d445ce3b0876f70a39502cd98543f875dd369 /vid-app-common/src/main/webapp
parenta98f4ff3ed19a38ed18e34a5a18e3be2c9e63732 (diff)
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 <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common/src/main/webapp')
-rw-r--r--vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeController.js2
-rw-r--r--vid-app-common/src/main/webapp/app/vid/scripts/controller/iframeDialogController.js2
2 files changed, 2 insertions, 2 deletions
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();
}