lib/suggestion-list.js
// Public: Clean up, stop listening to events
Clean up, stop listening to events
Clean up stop listening to events
dispose () {
    if (this.subscriptions) {
      this.subscriptions.dispose()
    }
    if (this.bindings && this.bindings.dispose) {
      this.bindings.dispose()
    }
    this.emitter.emit('did-dispose')
    return this.emitter.dispose()
  }
dispose ( ) { if ( this . subscriptions ) { this . subscriptions . dispose ( ) } if ( this . bindings && this . bindings . dispose ) { this . bindings . dispose ( ) } this . emitter . emit ( 'did-dispose' ) return this . emitter . dispose ( ) }
Public: Clean up, stop listening to events
Public : Clean up stop listening to events