Add a semicolon at the end of this statement. 59/95459/2
authoranushadasari <danush10@in.ibm.com>
Wed, 11 Sep 2019 06:21:41 +0000 (11:51 +0530)
committerIttay Stern <ittay.stern@att.com>
Tue, 24 Sep 2019 16:34:46 +0000 (16:34 +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: I45637083e88ac2e1c4cb27519a3116f2f5f792e8
Signed-off-by: anushadasari <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/services/dataService.js

index 84413f8..95bdb3a 100755 (executable)
@@ -43,7 +43,7 @@ var DataService = function($log, DataService) {
                        return {\r
                                cloudOwner: cloudRegionTenant.cloudOwner,\r
                                cloudRegionId: cloudRegionTenant.cloudRegionId\r
-                       }\r
+                       };\r
                },\r
                getGlobalCustomerId : function() {\r
                        return _this.globalCustomerId;\r
@@ -405,7 +405,7 @@ var DataService = function($log, DataService) {
             _this.owningEntityProperties = properties;\r
         }\r
 \r
-       }\r
+       };\r
 };\r
 \r
 appDS2.factory("DataService", [ "$log", DataService ]);\r