mol_plot_all 1.2.486 → 1.2.488

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/web.js CHANGED
@@ -636,7 +636,8 @@ var $;
636
636
  const res = [];
637
637
  const max = this.cursor >= 0 ? this.cursor : this.sub_from;
638
638
  for (let i = this.pub_from; i < max; i += 2) {
639
- res.push(this.data[i]);
639
+ if (this.data[i])
640
+ res.push(this.data[i]);
640
641
  }
641
642
  return res;
642
643
  }
@@ -1696,7 +1697,7 @@ var $;
1696
1697
  atom.watch();
1697
1698
  }
1698
1699
  else {
1699
- $mol_fail(new Error('Atom is equired for watching'));
1700
+ $mol_fail(new Error('Atom is required for watching'));
1700
1701
  }
1701
1702
  }
1702
1703
  $.$mol_wire_watch = $mol_wire_watch;