From 1705d8b4248db37156536aa64413a67e1573a4b2 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Sun, 25 Aug 2019 20:41:02 +0530 Subject: Add 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-595 Change-Id: I7895047b2ae64e3fcca479bb26f45d1a0bd097ac Signed-off-by: anushadasari --- .../src/main/webapp/app/vid/test/testViewEdit.js | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'vid-app-common/src/main') diff --git a/vid-app-common/src/main/webapp/app/vid/test/testViewEdit.js b/vid-app-common/src/main/webapp/app/vid/test/testViewEdit.js index 5b4d8bd8b..a09a8ce37 100755 --- a/vid-app-common/src/main/webapp/app/vid/test/testViewEdit.js +++ b/vid-app-common/src/main/webapp/app/vid/test/testViewEdit.js @@ -47,7 +47,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, */ DataService.setSubscriberName("Mobility"); - DataService.setGlobalCustomerId("CUSTID12345") + DataService.setGlobalCustomerId("CUSTID12345"); DataService.setServiceType("Mobility Type 1"); DataService.setServiceInstanceName("Example Service Instance Name"); DataService.setServiceName("Mobility Service 1"); @@ -61,7 +61,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, setTestMode(); - } + }; $scope.autoStartTest = function() { /* @@ -80,7 +80,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, // $scope.deleteVnf(); // $scope.createVfModule(); }, 500); - } + }; /* * This block of code is only used for testing. @@ -165,14 +165,14 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.SERVICE, callbackFunction : callbackFunction }); - } + }; $scope.createVnf = function() { DataService.setModelId("91238134091820938018230918230989"); DataService.setModelInstanceName("VNF_MODEL_INSTANCE_NAME"); - DataService.setCloudRegionTenantList(exampleCloudRegionTenantList) + DataService.setCloudRegionTenantList(exampleCloudRegionTenantList); DataService.setServiceIdList(exampleServiceIdList); // Data used to create MSO "relatedInstanceList" object @@ -183,7 +183,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.VNF, callbackFunction : callbackFunction }); - } + }; $scope.createVfModule = function() { DataService @@ -211,7 +211,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.VF_MODULE, callbackFunction : callbackFunction }); - } + }; $scope.createVolumeGroup = function() { @@ -230,7 +230,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.VOLUME_GROUP, callbackFunction : callbackFunction }); - } + }; $scope.createNetwork = function() { @@ -248,7 +248,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.NETWORK, callbackFunction : callbackFunction }); - } + }; /* * Delete functions @@ -263,7 +263,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.SERVICE, callbackFunction : callbackFunction }); - } + }; $scope.deleteVnf = function() { @@ -279,7 +279,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.VNF, callbackFunction : callbackFunction }); - } + }; $scope.deleteVfModule = function() { @@ -296,7 +296,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.VF_MODULE, callbackFunction : callbackFunction }); - } + }; $scope.deleteVolumeGroup = function() { @@ -313,7 +313,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.VOLUME_GROUP, callbackFunction : callbackFunction }); - } + }; $scope.deleteNetwork = function() { @@ -328,7 +328,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.NETWORK, callbackFunction : callbackFunction }); - } + }; /* * Show Details functions @@ -341,7 +341,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.SERVICE, callbackFunction : callbackFunction }); - } + }; $scope.showVnfDetails = function() { @@ -353,7 +353,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.VNF, callbackFunction : callbackFunction }); - } + }; $scope.showVfModuleDetails = function() { @@ -365,7 +365,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.VF_MODULE, callbackFunction : callbackFunction }); - } + }; $scope.showVolumeGroupDetails = function() { @@ -376,7 +376,7 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.VOLUME_GROUP, callbackFunction : callbackFunction }); - } + }; $scope.showNetworkDetails = function() { @@ -387,8 +387,8 @@ var testViewEditController = function(COMPONENT, DataService, PropertyService, componentId : COMPONENT.NETWORK, callbackFunction : callbackFunction }); - } -} + }; +}; app.controller("testViewEditController", [ "COMPONENT", "DataService", "PropertyService", "UtilityService", "$scope", "$timeout", -- cgit 1.2.3-korg