mol_plot_all 1.2.487 → 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/node.esm.js CHANGED
@@ -1165,7 +1165,8 @@ var $;
1165
1165
  const res = [];
1166
1166
  const max = this.cursor >= 0 ? this.cursor : this.sub_from;
1167
1167
  for (let i = this.pub_from; i < max; i += 2) {
1168
- res.push(this.data[i]);
1168
+ if (this.data[i])
1169
+ res.push(this.data[i]);
1169
1170
  }
1170
1171
  return res;
1171
1172
  }
@@ -2174,7 +2175,7 @@ var $;
2174
2175
  atom.watch();
2175
2176
  }
2176
2177
  else {
2177
- $mol_fail(new Error('Atom is equired for watching'));
2178
+ $mol_fail(new Error('Atom is required for watching'));
2178
2179
  }
2179
2180
  }
2180
2181
  $.$mol_wire_watch = $mol_wire_watch;