       .then thenable @renderCity
       .then thenable @renderForecast
       .then thenable => @initialized = true
-      .then @update
+      .then @update.bind(this, null)
       .catch (err) =>
         log err
         @showError err

    @$el = $ '.weather'
    @apikey = 'e35c4324fb7999ba5788fbba8c901d11'

  update: (data) =>
    @data = data
    @processData()
    if not @initialized and data.displayWeather isnt off
      @loadData()


  updateTemperatureUnits: ->
    @getLocation()
      .then @createUrlFromLocation
      .then @getWeather
      .then JSON.parse
