diff options
| author | Stephen Blott | 2015-05-27 16:37:28 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2015-05-27 16:37:53 +0100 | 
| commit | 8e349a9d06cb0ea8fdc0643b9424186df5a84b54 (patch) | |
| tree | ca2ce45de49ee57fab6d24c097107e6fd1926897 /background_scripts/completion.coffee | |
| parent | 4d0f08f72cd05a0ac47bd7aad9ee51c4fa52d97f (diff) | |
| download | vimium-8e349a9d06cb0ea8fdc0643b9424186df5a84b54.tar.bz2 | |
Fix significant typo.
Fix incorrect property name from 764d70312f292882abe4940adf9fee3d6e834327.
Diffstat (limited to 'background_scripts/completion.coffee')
| -rw-r--r-- | background_scripts/completion.coffee | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index ff27e518..b46ecc43 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -30,7 +30,7 @@ class Suggestion      # @insertText is text to insert into the vomnibar input when the suggestion is selected.      @insertText = null      # @deDuplicate controls whether this suggestion is a candidate for deduplication. -    @deDuplication = true +    @deDuplicate = true      # Other options set by individual completers include:      # - tabId (TabCompleter) @@ -665,9 +665,12 @@ class MultiCompleter      # Simplify URLs and remove duplicates (duplicate simplified URLs, that is).      count = 0      seenUrls = {} +    console.log ""      suggestions =        for suggestion in suggestions          url = suggestion.shortenUrl() +        console.log url +        console.log suggestion.deDuplicate and seenUrls[url]          continue if suggestion.deDuplicate and seenUrls[url]          break if count++ == @maxResults          seenUrls[url] = suggestion | 
