From d58fe5034c22fcbb065f8dad6875656b77e63c96 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Tue, 10 Sep 2019 22:03:05 +0530 Subject: Add a semicolon at the end of this statement. 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 --- .../vf-module-homing-data-action.controller.js | 4 ++-- .../src/main/webapp/app/vid/scripts/services/OwningEntityService.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/modals/vf-module-homing-data-action/vf-module-homing-data-action.controller.js b/vid-app-common/src/main/webapp/app/vid/scripts/modals/vf-module-homing-data-action/vf-module-homing-data-action.controller.js index 2cfcf5715..759f67dc9 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/modals/vf-module-homing-data-action/vf-module-homing-data-action.controller.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/modals/vf-module-homing-data-action/vf-module-homing-data-action.controller.js @@ -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; } diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/services/OwningEntityService.js b/vid-app-common/src/main/webapp/app/vid/scripts/services/OwningEntityService.js index 12fd0d042..2e470f656 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/services/OwningEntityService.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/services/OwningEntityService.js @@ -33,7 +33,7 @@ var OwningEntityService = function ($http, $log, PropertyService, UtilityService successCallbackFunction(response.data.categoryParameters); }).catch(UtilityService.runHttpErrorHandler); } - } + }; }; appDS2.factory("OwningEntityService", ["$http", "$log", "PropertyService", -- cgit 1.2.3-korg