diff options
author | anushadasari <danush10@in.ibm.com> | 2019-09-10 22:03:05 +0530 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-09-24 16:31:22 +0000 |
commit | d58fe5034c22fcbb065f8dad6875656b77e63c96 (patch) | |
tree | dc244b71a8f9bc4538ad0c86215c5156299ff1ef /vid-app-common/src/main/webapp | |
parent | 1ffc2b793c7b4e7c89628973c498d6d6f85d9c1f (diff) |
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 <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common/src/main/webapp')
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", |