Add a semicolon at the end of this statement 01/94401/2
authoranushadasari <danush10@in.ibm.com>
Wed, 28 Aug 2019 06:23:15 +0000 (11:53 +0530)
committerIttay Stern <ittay.stern@att.com>
Thu, 29 Aug 2019 12:14:48 +0000 (12:14 +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: I4d324d96d28a3796b971b83997d72a64ed161ce8
Signed-off-by: anushadasari <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/constants/fieldConstants.js

index a460130..eb44647 100755 (executable)
@@ -295,7 +295,7 @@ appDS2.factory("FIELD", ["PARAMETER", function (PARAMETER) {
         PRIMARY: "primary",\r
         PROGRESS_BAR_INFO: "progress-bar progress-bar-info",\r
         PROGRESS_BAR_SUCCESS: "progress-bar progress-bar-success",\r
-    }\r
+    };\r
 \r
     var ERROR = {\r
         AAI: "A&AI failure - see log below for details",\r
@@ -322,7 +322,7 @@ appDS2.factory("FIELD", ["PARAMETER", function (PARAMETER) {
         INVALID_DATA_FORMAT: 'Invalid data format.Please check your file content whether it is not in json or not.',\r
         MISSING_FILE: 'Please Select JSON File.',\r
 \r
-    }\r
+    };\r
 \r
     /*\r
      * PARAMETER values indicate field configurations that are provided to\r
@@ -512,5 +512,5 @@ appDS2.factory("FIELD", ["PARAMETER", function (PARAMETER) {
         STATUS: STATUS,\r
         STYLE: STYLE,\r
         ERROR: ERROR\r
-    }\r
+    };\r
 }]);\r