Merge branch 'master' into stable

This commit is contained in:
Ben Gotow 2016-09-29 13:43:05 -07:00
commit 816edde281

View file

@ -26,9 +26,10 @@ class ListDataSource
return =>
@_emitter.removeListener('trigger', eventHandler)
if @_emitter.listenerCount('trigger') is 0
@_cleanedup = true
@cleanup()
process.nextTick =>
if @_emitter.listenerCount('trigger') is 0
@_cleanedup = true
@cleanup()
loaded: ->
throw new Error("ListDataSource base class does not implement loaded()")