       notificationView.getRenderPromise().then =>
         @element.replaceChild(@renderNotification(notificationView), notificationElement)
 
-    @disposables.add new Disposable => @element.remove()
+    @subscriptions.add new Disposable => @element.remove()
 
   renderNotification: (view) ->
     message = document.createElement('div')

moment = require 'moment'

module.exports = class NotificationsLogItem
  timestampInterval: null

  constructor: (@notification) ->
    @emitter = new Emitter
    @disposables = new CompositeDisposable
    @render()

  render: ->

  getElement: -> @element

  destroy: ->
    @subscriptions.dispose()
    @emitter.emit 'did-destroy'

  onClick: (callback) ->
