             @.$el.html @template()
             return @
 
-        destroy: ->
-            @.$('.input_query').off()
-
-
     class @DataContainer extends Backbone.View
         className: 'data_container'
         error_template: Handlebars.compile $('#dataexplorer-error-template').html()

                    name: 'javascript'
                    json: true
                onKeyEvent: @handle_keypress
                onFocus: @handle_keypress
                onBlur: @hide_suggestion
                lineNumbers: true
                lineWrapping: true

                height = $('.'+classname)[0].scrollHeight
                $('.'+classname).height(height)

        destroy: =>
            $(document).unbind 'mousemove', @handle_mousemove
            $(document).unbind 'mouseup', @handle_mouseup

    class @DefaultView extends Backbone.View
        className: 'helper_view'
        template: Handlebars.compile $('#dataexplorer_default_view-template').html()
