mam 1.11.508 → 1.11.510
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.test.js +2 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
package/node.test.js
CHANGED
|
@@ -11829,11 +11829,11 @@ var $;
|
|
|
11829
11829
|
}
|
|
11830
11830
|
*view_find(check, path = []) {
|
|
11831
11831
|
if (path.length === 0 && check(this))
|
|
11832
|
-
return yield [
|
|
11832
|
+
return yield [this];
|
|
11833
11833
|
try {
|
|
11834
11834
|
for (const item of this.sub()) {
|
|
11835
11835
|
if (item instanceof $mol_view && check(item)) {
|
|
11836
|
-
return yield [...path, item];
|
|
11836
|
+
return yield [...path, this, item];
|
|
11837
11837
|
}
|
|
11838
11838
|
}
|
|
11839
11839
|
for (const item of this.sub()) {
|