Add a semicolon at the end of this statement. 54/95454/2
authoranushadasari <danush10@in.ibm.com>
Wed, 11 Sep 2019 06:07:12 +0000 (11:37 +0530)
committerIttay Stern <ittay.stern@att.com>
Tue, 24 Sep 2019 16:33:24 +0000 (16:33 +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-607
Change-Id: I6798e2fbf4439e5336e1af734aa762449454f04f
Signed-off-by: anushadasari <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/services/componentService.js

index 0bc8f0b..251aeef 100755 (executable)
@@ -177,8 +177,8 @@ var ComponentService = function($log, COMPONENT, UtilityService) {
        getFieldDisplayName : function(name) {\r
            return getDisplayName(name);\r
        }\r
-    }\r
-}\r
+    };\r
+};\r
 \r
 appDS2.factory("ComponentService", [ "$log", "COMPONENT", "UtilityService",\r
        ComponentService ]);\r