aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/background_page.html b/background_page.html
index 0a120997..e4b3e915 100644
--- a/background_page.html
+++ b/background_page.html
@@ -53,17 +53,17 @@
var tabLoadedHandlers = {}; // tabId -> function()
var completionSources = {
- smart: new completion.SmartCompletionSource({
- 'wiki ': [ 'Wikipedia (en)', 'http://en.wikipedia.org/wiki/%s' ],
- 'luck ': [ 'Google Lucky (en)', 'http://www.google.com/search?q=%s&btnI=I%27m+Feeling+Lucky' ],
- 'cc ' : [ 'dict.cc', 'http://www.dict.cc/?s=%s' ],
- ';' : [ 'goto', '%s' ],
- '?' : [ 'search', function(query) { return utils.createSearchUrl(query) } ],
+ smart: new completion.SmartKeywordCompleter({
+ "wiki ": [ "Wikipedia (en)", "http://en.wikipedia.org/wiki/%s" ],
+ "luck ": [ "Google Lucky (en)", "http://www.google.com/search?q=%s&btnI=I%27m+Feeling+Lucky" ],
+ "cc " : [ "dict.cc", "http://www.dict.cc/?s=%s" ],
+ ";" : [ "goto", "%s" ],
+ "?" : [ "search", function(query) { return utils.createSearchUrl(query); }],
}),
- domain: new completion.DomainCompletionSource(),
- bookmarks: new completion.FuzzyBookmarkCompletionSource(),
- history: new completion.FuzzyHistoryCompletionSource(20000),
- tabs: new completion.FuzzyTabCompletionSource(),
+ domain: new completion.DomainCompleter(),
+ bookmarks: new completion.FuzzyBookmarkCompleter(),
+ history: new completion.FuzzyHistoryCompleter(20000),
+ tabs: new completion.FuzzyTabCompleter(),
}
var completers = {
omni: new completion.MultiCompleter([