 
 
   _resizeVertically: (event) ->
-
-    return  unless @_clone
 
     height = @_clone.height()
 


  _resizeHorizontally: (event) ->

    return  unless @_clone

    width = @_clone.width()

    if @$().css('boxSizing') is 'border-box'


  resize: (event) ->

    return  unless @_clone

    @_clone.appendTo 'body' unless document.body.contains @_clone[0]
    val = @getElement().value.replace(/\n/g,'\n&nbsp;')
    safeValue = Encoder.XSSEncode val
