     @warnThresholdMiliseconds = 0
     @displayFormat = ''
     @eventFormat = /([0123456]{1,7})?\s*(\d+)(?::(\d\d))?\s*(am|pm)?/i
+    @timer = null
+    @hasWarning = false
 
     # TODO: Move this somewhere else?
     subscriptions.add atom.commands.add 'atom-workspace', 'event-watch:update': => @update()

    for event in events
      @view.appendChild(event)

module.exports = document.registerElement('event-watch',
                                          prototype: EventWatchView.prototype,
                                          extends: 'div')

    currentDate = new Date
    events = []

    wasWarning = @hasWarning
    @hasWarning = false
    for title, times of @data
      # ignore missing titles and those starting with -
      if !title.length or title[0] == '-'
