postal-react-mixin.js
function() {
    if (!this.hasOwnProperty("_postalSubscriptions")) {
        this._postalSubscriptions = {};
    }
    for (var topic in this.subscriptions) {
      if (this.subscriptions.hasOwnProperty(topic)) {
        var callback = this.subscriptions[topic];
        this.subscribe(topic, callback);
      }
    }
  }
function() {
    if (!this.hasOwnProperty("_postalSubscriptions")) {
        this._postalSubscriptions = {};
    }
    for (var topic in this.subscriptions) {
      if (this.subscriptions.hasOwnProperty(topic)) {
        var callback = this.subscriptions[topic];
        this.subscribe(topic, callback);
      }
    }
  }
function ( ) { if ( ! this . hasOwnProperty ( "_postalSubscriptions" ) ) { this . _postalSubscriptions = { } ; } for ( var topic in this . subscriptions ) { if ( this . subscriptions . hasOwnProperty ( topic ) ) { var callback = this . subscriptions [ topic ] ; this . subscribe ( topic , callback ) ; } } }
React component lifecycle methods
React component lifecycle methods