Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Commit c038492

Browse files
author
rsavian
committed
BaseModel remove logic that was cloning children BaseModel's
1 parent 6ec3062 commit c038492

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ts/model/BaseModel.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,6 @@ class BaseModel extends BaseObject implements IBaseModel
194194
// Instantiate it and pass in the updateData to the constructor.
195195
returnData = new propertyData(updateData, this.sjsOptions);
196196
}
197-
else if ((updateData instanceof BaseModel) === true)
198-
{
199-
returnData = updateData.clone();
200-
}
201197
else if ((propertyData instanceof BaseModel) === true)
202198
{
203199
// If propertyData is an instance of a BaseModel class and has already been created.

0 commit comments

Comments
 (0)