lib/methods/destroy.js
function destroy() {
    this.options.container.removeEventListener('scroll', this._scroll);
    window.removeEventListener('resize', this._scroll);
    this.attached = false;
}
function destroy() {
    this.options.container.removeEventListener('scroll', this._scroll);
    window.removeEventListener('resize', this._scroll);
    this.attached = false;
}
function destroy ( ) { this . options . container . removeEventListener ( 'scroll' , this . _scroll ) ; window . removeEventListener ( 'resize' , this . _scroll ) ; this . attached = false ; }
Removes the scroll event handler

@return {void}
Removes the scroll event handler