Add a semicolon at the end of this statement. 00/95400/3
authoranushadasari <danush10@in.ibm.com>
Tue, 10 Sep 2019 16:33:05 +0000 (22:03 +0530)
committerIttay Stern <ittay.stern@att.com>
Tue, 24 Sep 2019 16:31:22 +0000 (16:31 +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: I351d26cab21fffe5925dd6bc64691166e5c3ea3d
Signed-off-by: anushadasari <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/modals/vf-module-homing-data-action/vf-module-homing-data-action.controller.js
vid-app-common/src/main/webapp/app/vid/scripts/services/OwningEntityService.js

index 2cfcf57..759f67d 100644 (file)
@@ -137,13 +137,13 @@ var vfModuleActionModalController = function(COMPONENT, FIELD, $scope, $uibModal
     };
 
     $scope.removeVendorFromCloudOwner = function(cloudOwner) {
-        return AaiService.removeVendorFromCloudOwner(cloudOwner)
+        return AaiService.removeVendorFromCloudOwner(cloudOwner);
     };
 
     $scope.selectedLcpRegionIsMegaRegion = function() {
         if ($scope.regionSelection.optionId) {
             let cloudRegionId = DataService.getCloudOwnerAndLcpCloudRegionFromOptionId($scope.regionSelection.optionId).cloudRegionId;
-            return ($scope.megaRegion).indexOf(cloudRegionId) > -1
+            return ($scope.megaRegion).indexOf(cloudRegionId) > -1;
         } else {
             return false;
         }
index 12fd0d0..2e470f6 100644 (file)
@@ -33,7 +33,7 @@ var OwningEntityService = function ($http, $log, PropertyService, UtilityService
                     successCallbackFunction(response.data.categoryParameters);
                 }).catch(UtilityService.runHttpErrorHandler);
         }
-    }
+    };
 };
 
 appDS2.factory("OwningEntityService", ["$http", "$log", "PropertyService",