 
     @editor.onDidChange =>
       return if @finished
-      input = @editor.getText()
-      @emitter.emit 'did-change', input
+      @emitter.emit 'did-change', @editor.getText()
       @confirm() if @canConfirm()
 
   canConfirm: ->

      )
    )



InputElement = document.registerElement "#{packageScope}-input",
  prototype: InputElement.prototype
  extends: 'div',


class SearchInputElement extends InputBaseElement
  klass: "#{searchScope}-container"
  buildElements: ->
    @appendChild(
      @div
