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

Commit 5162487

Browse files
author
rsavian
committed
0.15.4
1 parent c038492 commit 5162487

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ _onClickHandler(event) {
252252

253253
## Release History
254254

255+
* 2017-02-15 v0.15.4 BaseModel - remove logic that was cloning children BaseModel's.
256+
255257
* 2017-02-08 v0.15.3 BaseModel - Wasn't really fixed. Now it is fixed. Fingers crossed!
256258

257259
* 2017-02-08 v0.15.2 BaseModel - Fixed issue with arrays having the same data for every item in the array when instantiated directly on the property. Fixed issue with child models not actually being cloned into new objects when .clone() is called on the parent model.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "structurejs",
3-
"version": "0.15.3",
3+
"version": "0.15.4",
44
"dependencies": {
55
"jquery": "*",
66
"handlebars": "*"

js/model/BaseModel.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ var __extends = (this && this.__extends) || function (d, b) {
177177
// Instantiate it and pass in the updateData to the constructor.
178178
returnData = new propertyData(updateData, this.sjsOptions);
179179
}
180-
else if ((updateData instanceof BaseModel) === true) {
181-
returnData = updateData.clone();
182-
}
183180
else if ((propertyData instanceof BaseModel) === true) {
184181
// If propertyData is an instance of a BaseModel class and has already been created.
185182
// Call the update method and pass in the updateData.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "structure-js",
3-
"version": "0.15.3",
3+
"version": "0.15.4",
44
"description": "A class based utility library for building modular and scalable web platform applications. Features opt-in classes and utilities which provide a solid foundation and toolset to build your next project.",
55
"url": "https://github.com/codeBelt/StructureJS",
66
"repository": "https://github.com/codeBelt/StructureJS",

0 commit comments

Comments
 (0)