       @setKeyView @oldKeyView
 
   setKeyView:(newKeyView)->
-    
+
     return if newKeyView is @keyView
 
     newKeyViewAcceptsKeyStatus = ()->


###
class KDWindowController extends KDController
  
  constructor:(options,data)->
    @windowResizeListeners = {}
    @keyView

      listener      : @
      callback      : =>
        delete @windowResizeListeners[instance.id]

  setWindowProperties:(event)->
    @winWidth  = $(window).width()
    @winHeight = $(window).height()

  notifyWindowResizeListeners:(event, throttle = no, duration = 17)->
    event or= type : "resize"
    if throttle
