diff options
| author | Stephen Blott | 2015-05-10 15:08:01 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-05-10 15:08:01 +0100 |
| commit | 8493811a4279950194cc8b1f5941cf9730cda1f0 (patch) | |
| tree | 2645c7ce8f3ba1084da0abc8b643d05b91b54811 /background_scripts | |
| parent | 09b2aad039c7894c6023100d03c9941649843b77 (diff) | |
| download | vimium-8493811a4279950194cc8b1f5941cf9730cda1f0.tar.bz2 | |
Search completion; even more minor tweaks.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/completion.coffee | 2 | ||||
| -rw-r--r-- | background_scripts/completion_engines.coffee | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index 4fa91b9d..ccb5e4e6 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -474,7 +474,7 @@ class SearchEngineCompleter # adding further suggestions. if queryTerms.length == 0 or cachedSuggestions? or not haveCompletionEngine if cachedSuggestions? - console.log "using cached suggestions" + console.log "using cached suggestions:", query suggestions.push cachedSuggestions.map(mkSuggestion)... return onComplete suggestions, { filter } diff --git a/background_scripts/completion_engines.coffee b/background_scripts/completion_engines.coffee index ac5c86aa..638d7f60 100644 --- a/background_scripts/completion_engines.coffee +++ b/background_scripts/completion_engines.coffee @@ -210,7 +210,7 @@ CompletionEngines = true if reusePreviousSuggestions - console.log "reuse previous query", @mostRecentQuery if @debug + console.log "reuse previous query:", @mostRecentQuery if @debug @mostRecentQuery = queryTerms.join " " return callback @completionCache.set completionCacheKey, @mostRecentSuggestions |
