summaryrefslogtreecommitdiffstats
path: root/vid-app-common
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-03 11:51:19 +0530
committeranusha dasari <danush10@in.ibm.com>2019-09-05 10:44:49 +0000
commit8694b431fc46213c4f1d2ae0606e7598a509ef0c (patch)
treee8bf8383a23834860f2be7501e123fe1cd8f1c91 /vid-app-common
parentd4d98f9674093637589fe3780d22756f02e92e1b (diff)
Semicolon at the end of the Statement and Remove trailing whitespaces at the end of this line
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-606 Change-Id: If88beef4fa028d01eda5119dfa5bc005d8225e17 Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common')
-rw-r--r--vid-app-common/src/main/webapp/app/vid/scripts/controller/pnfSearchAssociationController.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/pnfSearchAssociationController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/pnfSearchAssociationController.js
index 352d9ca8d..0cc92eee3 100644
--- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/pnfSearchAssociationController.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/pnfSearchAssociationController.js
@@ -47,8 +47,8 @@ appDS2.controller("pnfSearchAssociationController", ["COMPONENT", "$log", "FIELD
var handleGetParametersResponse = function(parameters) {
$scope.serviceMetadataFields = parameters.summaryList;
$scope.serviceMetadataFields.forEach(function (t, number) {
- $scope.serviceMetadataFields[number].key = $scope.serviceMetadataFields[number].name.split(' ').join('')
- })
+ $scope.serviceMetadataFields[number].key = $scope.serviceMetadataFields[number].name.split(' ').join('');
+ });
$scope.nodeTemplateFields = _.keyBy(parameters.userProvidedList, 'id');
};
@@ -74,7 +74,7 @@ appDS2.controller("pnfSearchAssociationController", ["COMPONENT", "$log", "FIELD
$scope.notFound= true;
});
- }
+ };
var modalInstance;
$scope.associate = function() {
@@ -99,9 +99,7 @@ appDS2.controller("pnfSearchAssociationController", ["COMPONENT", "$log", "FIELD
return null;
}
}
- })
-
-
+ });
};
var updateViewCallbackFunction = function(response) {