aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-11 11:47:43 +0530
committerIttay Stern <ittay.stern@att.com>2019-09-24 16:33:58 +0000
commit77b108c37264af0e906236f00491bbce3eba2244 (patch)
tree85949a1c3f58d9d13fa3b67262aa33bfb86e1cfa /vid-app-common/src/main/webapp/app
parentc6de597cf45091ee005f0a4ff14db8339ceaa1e0 (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: I2adee2c4d945cde39d796106fa6540d875b25219 Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common/src/main/webapp/app')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js b/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js
index 972463745..15ba51941 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js
@@ -417,7 +417,7 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
option = {
name: constraintsArray[i][PARAMETER.VALID_VALUES][j],
isDefault: false
- }
+ };
if ( ( UtilityService.hasContents (inputs[key][PARAMETER.DEFAULT]) )
&& (inputs[key][PARAMETER.DEFAULT] === constraintsArray[i][PARAMETER.VALID_VALUES][j] ) ) {
option = {
@@ -481,7 +481,7 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
parameter.min = constraintsArray[i][PARAMETER.IN_RANGE][0];
parameter.max = constraintsArray[i][PARAMETER.IN_RANGE][1];
parameter.type = PARAMETER.NUMBER;
- parameter.value = inputs[key][PARAMETER.DEFAULT]
+ parameter.value = inputs[key][PARAMETER.DEFAULT];
parameterList.push(parameter);
parameterPushed = true;
//console.log ("pushed param for in_range");
@@ -492,7 +492,7 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
if ( constraintsArray[i][PARAMETER.GREATER_THAN] != null ) {
parameter.type = PARAMETER.NUMBER;
parameter.min = constraintsArray[i][PARAMETER.GREATER_THAN];
- parameter.value = inputs[key][PARAMETER.DEFAULT]
+ parameter.value = inputs[key][PARAMETER.DEFAULT];
parameterList.push(parameter);
parameterPushed = true;
//console.log ("pushed param for greater_than");
@@ -515,7 +515,7 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
var inventoryItem = DataService.getInventoryItem();
var inventoryInfo = ComponentService.getInventoryInfo(
_this.componentId, inventoryItem);
- }
+ };
/*
* The "*Mso*" functions return URL and request details that can be passed
@@ -723,7 +723,7 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
if(lineOfBusiness) {
requestDetails.lineOfBusiness = {
lineOfBusinessName: lineOfBusiness
- }
+ };
}
requestDetails.platform = {
@@ -741,7 +741,7 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
requestDetails.lineOfBusiness = {
lineOfBusinessName: lineOfBusinessNamesString
- }
+ };
}
var platform = getValueFromList(FIELD.ID.PLATFORM, parameterList);
@@ -866,7 +866,7 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
"modelCustomizationId": modelInfo.customizationUuid,
"modelCustomizationName": modelInfo.modelCustomizationName
}
- }
+ };
}
relatedInstanceList.push({
relatedInstance : relatedInstance
@@ -918,13 +918,13 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
arbitraryParameters = {
name: parameter.id,
value: parameter.value
- }
+ };
arbitraryArray.push(arbitraryParameters);
}
}
}
return (arbitraryArray);
- }
+ };
var getModel = function() {
AsdcService.getModel(DataService.getModelId(), function(response) {
@@ -1310,8 +1310,8 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
getMsoRequestDetails : getMsoRequestDetails,
getMsoUrl : getMsoUrl,
setInventoryInfo: setInventoryInfo
- }
-}
+ };
+};
appDS2.factory("CreationService", [ "$log", "AaiService", "AsdcService",
"DataService","VIDCONFIGURATION", "ComponentService", "COMPONENT", "FIELD", "PARAMETER",