aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-04 22:25:31 +0530
committeranushadasari <danush10@in.ibm.com>2019-09-04 22:25:42 +0530
commit8ba39390e14398714906abe50a68c8e6aa0bb7fd (patch)
tree524f9ada1c2939ee89f3270e9affcbd5dc6ced8f /vid-app-common/src/main/webapp/app
parent34369db605daa0a5ec97ec3baf598a7e89aa9106 (diff)
Add semicolon at the end
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-607 Change-Id: Ief3162f9990689251c7268c515107a34b1a03a52 Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common/src/main/webapp/app')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/directives/progressBarDirective.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/directives/progressBarDirective.js b/vid-app-common/src/main/webapp/app/vid/scripts/directives/progressBarDirective.js
index 2f60d65dc..8294597bd 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/directives/progressBarDirective.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/directives/progressBarDirective.js
@@ -127,7 +127,7 @@ var progressBarDirective = function() {
*/
element.html("");
}
- }
+ };
return {
restrict : "EA",
@@ -153,7 +153,7 @@ var progressBarDirective = function() {
control.reset = function() {
previousValue = 0;
updateProgress(element, attrs, 0);
- }
+ };
attrs.$observe("value", function(valueString) {
updateProgress(element, attrs, valueString);
@@ -167,7 +167,7 @@ var progressBarDirective = function() {
}
});
}
- }
-}
+ };
+};
appDS2.directive("progressBar", progressBarDirective);