mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 10:34:11 +01:00
Some smallish fixes.
--HG-- branch : testing
This commit is contained in:
@@ -251,7 +251,7 @@ const CompletionContext = Class("CompletionContext", {
|
||||
get completions() this._completions || [],
|
||||
set completions(items) {
|
||||
// Accept a generator
|
||||
if ({}.toString.call(items) != '[object Array]')
|
||||
if (!isarray(items))
|
||||
items = [x for (x in Iterator(items))];
|
||||
delete this.cache.filtered;
|
||||
delete this.cache.filter;
|
||||
|
||||
Reference in New Issue
Block a user