     @listenTo Actions.sendDraftSuccess, => @_view.invalidate()
     @_createView()
 
-  view: ->
+  view: =>
     @_view
 
-  _createView: ->
+  _createView: =>
     account = AccountStore.current()
 
     if @unlisten

 DestroyDraftTask,
 DatabaseView} = require 'nylas-exports'

module.exports =
DraftListStore = Reflux.createStore
  init: ->
    @listenTo DatabaseStore, @_onDataChanged
    @listenTo AccountStore, @_onAccountChanged
    @listenTo Actions.deleteSelection, @_onDeleteSelection

NylasStore = require 'nylas-store'
Reflux = require 'reflux'
_ = require 'underscore'
{Message,
