Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
added check for getMeteorState function
  • Loading branch information
rkstar committed Apr 20, 2015
commit ca8d20316a8a068d5d90170d66e2f5fdbb95024f
4 changes: 3 additions & 1 deletion src/ReactMeteor.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
var ReactMeteorMixin = {
_handleMeteorChange: function () {
this.setState(this.getMeteorState());
if( this.getMeteorState !== undefined ){
this.setState(this.getMeteorState());
}
},

_cancelComputation: function () {
Expand Down