Skip to content

Commit

Permalink
Merge pull request #1 from dkvasnicka/master
Browse files Browse the repository at this point in the history
Kefir 2.7.1 support
  • Loading branch information
iofjuupasli committed Jul 15, 2015
2 parents 6d05275 + fa557a0 commit 9f23645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KefirConnect.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
observable.offValue(handler);
});
};
if ('_current' in observable) {
if ('_getInitialCurrent' in observable) {
mixin.getInitialState = function () {
return keyValue(statePropertyName, observable._current);
return keyValue(statePropertyName, observable._getInitialCurrent());
};
}
return mixin;
Expand Down

0 comments on commit 9f23645

Please sign in to comment.