From ecdc649e220ef11c30be1f2af4496559bf35d4c4 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sat, 30 May 2015 14:31:37 +0100 Subject: Search completion; remove unused code. This removes a couple of lines which should have been removed previously. --- background_scripts/completion_engines.coffee | 3 --- 1 file changed, 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/" ] -- cgit v1.2.3