dist/scroll-indicator.js
/**
 * Instantiates a ResizeTracker instance.
 *
 * @constructor
 */
Instantiates a ResizeTracker instance.
@constructor
Instantiates a ResizeTracker instance . @constructor
function ResizeTracker() {
  this._emitter = new Emitter();
  this._elem = window;
  _.bindAll(this, '_resizeHandler');
  this._debouncedResizeHandler = _.debounce(this._resizeHandler, 500);
  this._interval = null;
  this._isBound = false;
  this._size = this._findSize();
}
function ResizeTracker ( ) { this . _emitter = new Emitter ( ) ; this . _elem = window ; _ . bindAll ( this , '_resizeHandler' ) ; this . _debouncedResizeHandler = _ . debounce ( this . _resizeHandler , 500 ) ; this . _interval = null ; this . _isBound = false ; this . _size = this . _findSize ( ) ; }
Instantiates a ResizeTracker instance.
Instantiates a ResizeTracker instance .
// Debounce the resizeHandler so that it is only called after there have been // no resize events for 500ms. // Initialize the cached size of the element.