mol_plot_all 1.2.1301 → 1.2.1302

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.mjs CHANGED
@@ -3208,11 +3208,11 @@ var $;
3208
3208
  }
3209
3209
  *view_find(check, path = []) {
3210
3210
  if (path.length === 0 && check(this))
3211
- return yield [...path, this];
3211
+ return yield [this];
3212
3212
  try {
3213
3213
  for (const item of this.sub()) {
3214
3214
  if (item instanceof $mol_view && check(item)) {
3215
- return yield [...path, item];
3215
+ return yield [...path, this, item];
3216
3216
  }
3217
3217
  }
3218
3218
  for (const item of this.sub()) {
package/node.test.js CHANGED
@@ -3199,11 +3199,11 @@ var $;
3199
3199
  }
3200
3200
  *view_find(check, path = []) {
3201
3201
  if (path.length === 0 && check(this))
3202
- return yield [...path, this];
3202
+ return yield [this];
3203
3203
  try {
3204
3204
  for (const item of this.sub()) {
3205
3205
  if (item instanceof $mol_view && check(item)) {
3206
- return yield [...path, item];
3206
+ return yield [...path, this, item];
3207
3207
  }
3208
3208
  }
3209
3209
  for (const item of this.sub()) {