lib/event_indicator.js
/**
 * Instantiates the EventIndicator instance.
 * @constructor
 * @param {object} widget The ScrollIndicator object.
 */
Instantiates the EventIndicator instance.
@constructor
@param {object} widget The ScrollIndicator object.
Instantiates the EventIndicator instance . @constructor @param { object } widget The ScrollIndicator object .
function EventIndicator(widget) {
  this._scrollTracker = widget._scrollTracker;
  this._userCache = widget._userCache;
  this._emitter = widget._emitter;
  this._view = widget._view;
  this._id = widget._id;
  this._showUI = widget._options.eventUI;
  this._room = widget._options.room;
  this._namespace = CHANNEL_NAMESPACE;
  if (widget._options.namespace) {
    this._namespace += ('-' + widget._options.namespace);
  }
  this._localUser = null;
  this._channel = null;
  _.bindAll(this, '_scrollHandler', '_messageListener', '_errorHandler');
}
function EventIndicator ( widget ) { this . _scrollTracker = widget . _scrollTracker ; this . _userCache = widget . _userCache ; this . _emitter = widget . _emitter ; this . _view = widget . _view ; this . _id = widget . _id ; this . _showUI = widget . _options . eventUI ; this . _room = widget . _options . room ; this . _namespace = CHANNEL_NAMESPACE ; if ( widget . _options . namespace ) { this . _namespace += ( '-' + widget . _options . namespace ) ; } this . _localUser = null ; this . _channel = null ; _ . bindAll ( this , '_scrollHandler' , '_messageListener' , '_errorHandler' ) ; }
Instantiates the EventIndicator instance.
Instantiates the EventIndicator instance .