mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 00:15:46 +01:00
@@ -88,11 +88,13 @@ var DOM = Class("DOM", {
|
|||||||
|
|
||||||
nodes: Class.Memoize(function () ({})),
|
nodes: Class.Memoize(function () ({})),
|
||||||
|
|
||||||
get items() (function* () {
|
get items() {
|
||||||
for (let i = 0; i < this.length; i++)
|
return function* () {
|
||||||
/* FIXME: Symbols */
|
for (let i = 0; i < this.length; i++)
|
||||||
yield this.eq(i);
|
/* FIXME: Symbols */
|
||||||
})(),
|
yield this.eq(i);
|
||||||
|
}.call(this);
|
||||||
|
},
|
||||||
|
|
||||||
get document() this._document || this[0] && (this[0].ownerDocument || this[0].document || this[0]),
|
get document() this._document || this[0] && (this[0].ownerDocument || this[0].document || this[0]),
|
||||||
set document(val) this._document = val,
|
set document(val) this._document = val,
|
||||||
|
|||||||
Reference in New Issue
Block a user