aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/completion.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/completion.js b/lib/completion.js
index fe616d44..abd71afa 100644
--- a/lib/completion.js
+++ b/lib/completion.js
@@ -2,7 +2,7 @@ var completion = (function() {
/** Helper class to construct fuzzy completers for asynchronous data sources like history or bookmark
* matchers. */
- var AsyncCompletionSource = Class.extend({
+ var AsyncCompleter = Class.extend({
init: function() {
this.id = utils.createUniqueId();
this.reset();
@@ -115,7 +115,7 @@ var completion = (function() {
/** A fuzzy bookmark completer */
var FuzzyBookmarkCompletionSource = Class.extend({
- init: function() { this.asyncCompleter = new AsyncCompletionSource(); },
+ init: function() { this.asyncCompleter = new AsyncCompleter(); },
filter: function(query, callback) { return this.asyncCompleter.filter(query, callback); },
// Traverses the bookmark hierarhcy and retuns a list of all bookmarks in the tree.
@@ -147,7 +147,7 @@ var completion = (function() {
/** A fuzzy history completer */
var FuzzyHistoryCompletionSource = Class.extend({
init: function(maxResults) {
- this.asyncCompleter = new AsyncCompletionSource();
+ this.asyncCompleter = new AsyncCompleter();
this.maxResults = maxResults;
},
@@ -166,7 +166,7 @@ var completion = (function() {
/** A fuzzy tab completer */
var FuzzyTabCompletionSource = Class.extend({
- init: function() { this.asyncCompleter = new AsyncCompletionSource(); },
+ init: function() { this.asyncCompleter = new AsyncCompleter(); },
filter: function(query, callback) { return this.asyncCompleter.filter(query, callback); },