app/tracker/liliput.min.js
/*
       * The minimal observable subscription method.
       * @param {Object} observer Any object that can be used as an observer.
       * The observer object should have a `next` method.
       * @returns {subscription} An object with an `unsubscribe` method that can
       * be used to unsubscribe the observable from the store, and prevent further
       * emission of values from the observable.
       */
The minimal observable subscription method.
@param {Object} observer Any object that can be used as an observer.
The observer object should have a `next` method.
@returns {subscription} An object with an `unsubscribe` method that can
be used to unsubscribe the observable from the store, and prevent further
emission of values from the observable.
The minimal observable subscription method . @param { Object } observer Any object that can be used as an observer . The observer object should have a ` next ` method . @returns { subscription } An object with an ` unsubscribe ` method that can be used to unsubscribe the observable from the store and prevent further emission of values from the observable .
function subscribe(observer) {
        if (_typeof_1(observer) !== 'object') {
          throw new TypeError('Observer != obj');
        }
        function observeState() {
          if (observer.next) {
            observer.next(getState());
          }
        }
        observeState();
        var unsubscribe = outerSubscribe(observeState);
        return {
          unsubscribe: unsubscribe
        };
      }
function subscribe ( observer ) { if ( _typeof_1 ( observer ) !== 'object' ) { throw new TypeError ( 'Observer != obj' ) ; } function observeState ( ) { if ( observer . next ) { observer . next ( getState ( ) ) ; } } observeState ( ) ; var unsubscribe = outerSubscribe ( observeState ) ; return { unsubscribe : unsubscribe } ; }
The minimal observable subscription method.
The minimal observable subscription method .