diff options
| author | Stephen Blott | 2016-03-03 13:24:15 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2016-03-03 13:24:15 +0000 | 
| commit | 7f0fccf363ce887d8d9b1b92494ab94547931150 (patch) | |
| tree | acb7880ce8f5a12ebe7c9c16ce6fd4241bb63ca4 | |
| parent | addceafab244b174aba89718d81f6bcb4cea22ff (diff) | |
| download | vimium-7f0fccf363ce887d8d9b1b92494ab94547931150.tar.bz2 | |
Remove methods which aren't used.
| -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) -> | 
