diff options
| author | Stephen Blott | 2015-05-30 14:31:37 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2015-05-30 14:31:39 +0100 | 
| commit | ecdc649e220ef11c30be1f2af4496559bf35d4c4 (patch) | |
| tree | e8ff412886d83e92794e51644bb10106acff1ff3 | |
| parent | 5cb7e78cabff5d33ed07f223928268233eefb08c (diff) | |
| download | vimium-ecdc649e220ef11c30be1f2af4496559bf35d4c4.tar.bz2 | |
Search completion; remove unused code.
This removes a couple of lines which should have been removed
previously.
| -rw-r--r-- | background_scripts/completion_engines.coffee | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/background_scripts/completion_engines.coffee b/background_scripts/completion_engines.coffee index 4601ef6a..329a609e 100644 --- a/background_scripts/completion_engines.coffee +++ b/background_scripts/completion_engines.coffee @@ -26,7 +26,6 @@ class RegexpEngine  # Several Google completion engines package XML responses in this way.  class GoogleXMLRegexpEngine extends RegexpEngine -  doNotCache: false # true (disbaled, experimental)    parse: (xhr) ->      for suggestion in xhr.responseXML.getElementsByTagName "suggestion"        continue unless suggestion = suggestion.getAttribute "data" @@ -38,7 +37,6 @@ class Google extends GoogleXMLRegexpEngine      regexps ?= [        # We match the major English-speaking TLDs.        new RegExp "^https?://[a-z]+\.google\.(com|ie|co\.uk|ca|com\.au)/" -      new RegExp "localhost/cgi-bin/booky" # Only for smblott.        ]      super regexps @@ -77,7 +75,6 @@ class Youtube extends GoogleXMLRegexpEngine        "http://suggestqueries.google.com/complete/search?client=youtube&ds=yt&xml=t&q=%s"  class Wikipedia extends RegexpEngine -  doNotCache: false # true (disbaled, experimental)    # Example search URL: http://www.wikipedia.org/w/index.php?title=Special:Search&search=%s    constructor: ->      super [ new RegExp "^https?://[a-z]+\.wikipedia\.org/" ] | 
