diff options
Diffstat (limited to 'lib/completion.js')
| -rw-r--r-- | lib/completion.js | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/lib/completion.js b/lib/completion.js index 268a33d8..b86d2933 100644 --- a/lib/completion.js +++ b/lib/completion.js @@ -1,14 +1,14 @@  /* - * This contains the definition of the completers used for the Vomnibar's suggestion UI. A complter will take - * a query (whatever the user typed into the Vomnibar) and return a list of matches, e.g. bookmarks, domains, + * This contains the definition of the completers used for the Vomnibox's suggestion UI. A complter will take + * a query (whatever the user typed into the Vomnibox) and return a list of matches, e.g. bookmarks, domains,   * URLs from history.   * - * The Vomnibar frontend script makes a "filterCompleter" request to the background page, which in turn calls + * The Vomnibox frontend script makes a "filterCompleter" request to the background page, which in turn calls   * filter() on each these completers.   *   * A completer is a class which has two functions:   * - refresh(): refreshes the completer's data source (e.g. refetches the list of bookmarks from Chrome). - * - filter(query, callback): "query" will be whatever the user typed into the Vomnibar. "callback" is a + * - filter(query, callback): "query" will be whatever the user typed into the Vomnibox. "callback" is a   *   function which will be invoked with a list of LazyCompletionResults as its first argument.   *   * A completer's filter() function returns a list of LazyCompletionResults. This contains a relevancy score | 
