     @input.html(html)
 
   showSuccess: ->
+    console.log @msg
     @element.removeClass "invalid"
     @element.removeClass "maybevalid"
     @element.addClass "valid"

    @typingTimer = null

    # Create the result menu.
    @createResultMenu() unless $(".token-text-area-menu")

    # Bind all handlers.
    @registerEvents()


    @update = ->
      @initialize()

  initialize: ->
    # Return if readonly (display) mode.
