Add semicolon at the end 56/94956/1
authoranushadasari <danush10@in.ibm.com>
Wed, 4 Sep 2019 16:55:31 +0000 (22:25 +0530)
committeranushadasari <danush10@in.ibm.com>
Wed, 4 Sep 2019 16:55:42 +0000 (22:25 +0530)
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>
vid-app-common/src/main/webapp/app/vid/scripts/directives/progressBarDirective.js

index 2f60d65..8294597 100755 (executable)
@@ -127,7 +127,7 @@ var progressBarDirective = function() {
             */\r
            element.html("");\r
        }\r
-    }\r
+    };\r
 \r
     return {\r
        restrict : "EA",\r
@@ -153,7 +153,7 @@ var progressBarDirective = function() {
            control.reset = function() {\r
                previousValue = 0;\r
                updateProgress(element, attrs, 0);\r
-           }\r
+           };\r
 \r
            attrs.$observe("value", function(valueString) {\r
                updateProgress(element, attrs, valueString);\r
@@ -167,7 +167,7 @@ var progressBarDirective = function() {
                }\r
            });\r
        }\r
-    }\r
-}\r
+    };\r
+};\r
 \r
 appDS2.directive("progressBar", progressBarDirective);\r