diff options
| author | Phil Crosby | 2012-05-05 18:00:29 -0700 | 
|---|---|---|
| committer | Phil Crosby | 2012-05-05 18:32:14 -0700 | 
| commit | 2b8cb98f92109c319e99ccb9106a0547b711ccd4 (patch) | |
| tree | 10a7a643bf5ef4481c72f50be8134eacb74e70df | |
| parent | f42cf13daaa7ec39d2fbba905dcec9d4777af306 (diff) | |
| download | vimium-2b8cb98f92109c319e99ccb9106a0547b711ccd4.tar.bz2 | |
vomnibar -> vomnibox
| -rw-r--r-- | fuzzyMode.js | 6 | ||||
| -rw-r--r-- | lib/completion.js | 8 | 
2 files changed, 7 insertions, 7 deletions
| diff --git a/fuzzyMode.js b/fuzzyMode.js index 2a38fa6f..cc69211e 100644 --- a/fuzzyMode.js +++ b/fuzzyMode.js @@ -167,7 +167,7 @@ var fuzzyMode = (function() {    }    /* -   * Sends filter and refresh requests to a Vomnibar completer on the background page. +   * Sends filter and refresh requests to a Vomnibox completer on the background page.     */    var BackgroundCompleter = Class.extend({      /* - name: The background page completer that you want to interface with. Either "omni" or "tabs". */ @@ -193,7 +193,7 @@ var fuzzyMode = (function() {      }    }); -  /* Called when an item in the Vomnibar is chosen and requires navigating to a URL. */ +  /* Called when an item in the Vomnibox is chosen and requires navigating to a URL. */    function navigateToUrl(url, openInNewTab) {      // If the URL is a bookmarklet prefixed with javascript:, we shouldn't open that in a new tab.      if (url.indexOf("javascript:") == 0) @@ -205,7 +205,7 @@ var fuzzyMode = (function() {      });    } -  /* Called when an item in the Vomnibar is chosen and requires switching to a tab. */ +  /* Called when an item in the Vomnibox is chosen and requires switching to a tab. */    function switchToTab(tabId) { chrome.extension.sendRequest({ handler: "selectSpecificTab", id: tabId }); }    // public interface 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 | 
