semicolon at the end of this statement. 32/93932/1
authoranushadasari <danush10@in.ibm.com>
Tue, 20 Aug 2019 07:59:19 +0000 (13:29 +0530)
committeranushadasari <danush10@in.ibm.com>
Tue, 20 Aug 2019 08:03:50 +0000 (13:33 +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.

Change-Id: Ia09e1bb1894da379f68cc39e83f955e66b957511
Issue-ID: VID-578
Signed-off-by: anushadasari <danush10@in.ibm.com>
epsdk-app-onap/src/main/webapp/app/fusion/external/ebz/angular_js/app.js

index 416dc32..cb74a66 100755 (executable)
@@ -7,8 +7,8 @@ app.run(function(featureFlags, $http) {
     $http.get('flags').then(function (results) {\r
          var flags = [];\r
         for (var key in results.data) {\r
-            flags.push({"key":key, "active":results.data[key]})\r
+            flags.push({"key":key, "active":results.data[key]});\r
         }\r
         featureFlags.set(flags);\r
-    })\r
+    });\r
 });\r