mol_plot_all 1.2.487 → 1.2.489

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 CHANGED
@@ -1157,7 +1157,8 @@ var $;
1157
1157
  const res = [];
1158
1158
  const max = this.cursor >= 0 ? this.cursor : this.sub_from;
1159
1159
  for (let i = this.pub_from; i < max; i += 2) {
1160
- res.push(this.data[i]);
1160
+ if (this.data[i])
1161
+ res.push(this.data[i]);
1161
1162
  }
1162
1163
  return res;
1163
1164
  }
@@ -2166,7 +2167,7 @@ var $;
2166
2167
  atom.watch();
2167
2168
  }
2168
2169
  else {
2169
- $mol_fail(new Error('Atom is equired for watching'));
2170
+ $mol_fail(new Error('Atom is required for watching'));
2170
2171
  }
2171
2172
  }
2172
2173
  $.$mol_wire_watch = $mol_wire_watch;