diff options
| -rw-r--r-- | content_scripts/mode.coffee | 6 | ||||
| -rw-r--r-- | lib/dom_utils.coffee | 5 | 
2 files changed, 0 insertions, 11 deletions
| diff --git a/content_scripts/mode.coffee b/content_scripts/mode.coffee index 5cc8800e..782328ce 100644 --- a/content_scripts/mode.coffee +++ b/content_scripts/mode.coffee @@ -213,12 +213,6 @@ class Mode        DomUtils.suppressPropagation event        @stopBubblingAndFalse -  # Activate a new instance of this mode, together with all of its original options (except its main -  # keybaord-event handlers; these will be recreated). -  cloneMode: -> -    delete @options[key] for key in [ "keydown", "keypress", "keyup" ] -    new @constructor @options -    # Debugging routines.    logModes: ->      if @debug diff --git a/lib/dom_utils.coffee b/lib/dom_utils.coffee index 553287af..aab0a4df 100644 --- a/lib/dom_utils.coffee +++ b/lib/dom_utils.coffee @@ -290,11 +290,6 @@ DomUtils =          @remove()          false -  simulateTextEntry: (element, text) -> -    event = document.createEvent "TextEvent" -    event.initTextEvent "textInput", true, true, null, text -    element.dispatchEvent event -    # Adapted from: http://roysharon.com/blog/37.    # This finds the element containing the selection focus.    getElementWithFocus: (selection, backwards) -> | 
