1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 14:07:58 +01:00

Filter dead documents when processing hits.

--HG--
extra : rebase_source : e8ad12675d578d593312f2078e727c08d34a7e81
This commit is contained in:
Kris Maglione
2014-07-29 22:16:26 -07:00
parent 48fcb93bcd
commit 42859c7633

View File

@@ -54,6 +54,11 @@ var HintSession = Class("HintSession", CommandMode, {
this.checkUnique(); this.checkUnique();
}, },
get docs() this._docs = this._docs.filter(({ doc }) => !Cu.isDeadWrapper(doc)),
set docs(docs) {
this._docs = docs;
},
Hint: { Hint: {
get active() this._active, get active() this._active,
set active(val) { set active(val) {