From 4edbe74415960b095185d4354e82f2171a9728da Mon Sep 17 00:00:00 2001 From: Niklas Baumstark Date: Tue, 24 Jan 2012 18:38:22 +0100 Subject: fix small bug --- lib/completion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/completion.js b/lib/completion.js index 35b1d132..d36dc2e5 100644 --- a/lib/completion.js +++ b/lib/completion.js @@ -84,7 +84,7 @@ var completion = (function() { self.cleanMatcherCache = function() { // remove old matchers Object.keys(self.matcherCache).forEach(function(query) { - delete self.matcherCache(queries[i]); + delete self.matcherCache[query]; }); } -- cgit v1.2.3