var BaconModelMixin = {
  componentDidMount: function() {
    this.unsubscribe = this.props.model.onValue(this.setState.bind(this));
  },
  componentWillUnmount: function() {
    if(this.unsubscribe) {
      this.unsubscribe();
     }   
  }
}
module.exports = {
  componentDidMount: function() {
    this.unsubscribe = this.props.model.log().onValue(this.setState.bind(this));
  },
  componentWillUnmount: function() {
    if(this.unsubscribe) {
      this.unsubscribe();
     }   
  }
}

Fix module export and actually use this..
Fix module export and actually use this..
