       if shouldPrepend
       then @prepend subView, selector
       else @append subView, selector
-    # else log "lazy view", subView
 
     subView.on "ViewResized", -> subView.parentDidResize()
 

    @domElement = $ el

    if @lazy
      # warn "lazyElement found with id #{domId}"
      @utils.defer => @emit 'viewAppended'

  setDomId:(id)->

debug = require('debug') 'kd:view'
$ = require 'jquery'
KD = require './kd'
KDObject        = require './object'
