 kd = require 'kd'
 nick = require 'app/util/nick'
+showError = require 'app/util/showError'
+{generateQueryString} = require '../kite/kitecache'
 
 States = {
   'Retry'

        @queryKites()
          .then (result) =>
            if result?.kites?.length
            then @switchTo States.ListKites, result
            else @switchTo States.Retry, 'No kite instance found'
          .catch (err) =>
            @switchTo States.Retry, 'Failed to query kites'

      when States.Retry

  # Enter your koding.com credentials when asked for
"""

class KiteItem extends kd.ListItemView
  partial: ( { kite } )->
    "#{kite.name} on #{kite.hostname} with #{kite.id} ID"


view             =
