Skip to content

Commit

Permalink
Bumping to v0.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
arqex committed Jan 18, 2016
1 parent 2b1a2fc commit ea19ed2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Freezer Changelog
###v0.9.6
* Fixes orphan markDirty call.
* Fixes setting null value. Thanks @kuraga
* Improved readme. Thanks @ivantm

###v0.9.4
* Not working internally with dirty nodes anymore.
* Fixed some nodes getting out of sync when having nested duplicate nodes.
Expand Down Expand Up @@ -29,7 +34,7 @@
* Fixed nodes losing the live mode on update. Thanks to @zenfe.
* Fixed nodes triggering event in the wrong order when pivot. Thanks to @zenfe.
* Tests passing now in Node 4. Thanks @kuraga.
* Adds setting properties to undefined. Thanks to @rsamec.
* Adds setting properties to undefined. Thanks to @rsamec.

###v0.7.1
* Fixed `now` method triggering `update` event twice.
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"arqex"
],
"description": "A tree data structure that is always updated from the root, making easier to think in a reactive way.",
"main": "freezer.js",
"main": "build/freezer.js",
"keywords": [
"react",
"store",
Expand Down
10 changes: 2 additions & 8 deletions build/freezer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* freezer-js v0.9.4 (29-10-2015)
/* freezer-js v0.9.6 (18-1-2016)
* https://github.com/arqex/freezer
* By arqex
* License: MIT
Expand Down Expand Up @@ -269,7 +269,7 @@ var commonMethods = {

if( !update ){
for( var key in attrs ){
update = update || this[ key ] != attrs[ key ];
update = update || this[ key ] !== attrs[ key ];
}

// No changes, just return the node
Expand Down Expand Up @@ -567,13 +567,7 @@ var Frozen = {
_.listener.trigger( 'immediate', node, frozen );
}
for (var i = _.parents.length - 1; i >= 0; i--) {
if( i == 0 ){
this.refresh( _.parents[i], node, frozen );
}
else{

this.markDirty( _.parents[i], [node, frozen] );
}
}
return frozen;
},
Expand Down
Loading

0 comments on commit ea19ed2

Please sign in to comment.