Skip to content

Commit

Permalink
Kefir 2.7.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dkvasnicka committed Jul 15, 2015
1 parent 6d05275 commit fa557a0
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 fa557a0

Please sign in to comment.