-$ = require 'jquery'
-KD = require './kd'
+$                  = require 'jquery'
+KD                 = require './kd'
 KDKeyboardListener = require './keyboard/listener'
-KDKeyboardMap = require './keyboard/map'
+KDKeyboardMap      = require './keyboard/map'
+KDController       = require './controller'
+
 ###
 todo:
 
   - make addLayer implementation more clear, by default adding a layer
     should set a listener for next ReceivedClickElsewhere and remove the layer automatically
     2012/5/21 Sinan
+  - do not self-invoke (:293) -og
 
 ###
 
-KDController = require './controller'
 
 module.exports = class KDWindowController extends KDController
 

    keyView?.activateKeyView?()
    @emit 'WindowChangeKeyView', keyView

  setDragView:(dragView)->

    @setDragInAction yes
    @dragView = dragView

  unsetDragView:(e)->



  setMainView:(@mainView)->


  getMainView:(view)-> @mainView


  revertKeyView:(view)->

