mol_plot_all 1.2.297 → 1.2.300

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
@@ -1185,7 +1185,8 @@ var $;
1185
1185
  class $mol_wire_task extends $mol_wire_fiber {
1186
1186
  static getter(task) {
1187
1187
  return function $mol_wire_task_get(host, args) {
1188
- const existen = $mol_wire_auto()?.track_next();
1188
+ const sub = $mol_wire_auto();
1189
+ const existen = sub?.track_next();
1189
1190
  reuse: if (existen) {
1190
1191
  if (!(existen instanceof $mol_wire_task))
1191
1192
  break reuse;
@@ -2495,7 +2496,7 @@ var $;
2495
2496
  class $mol_vector_range extends $mol_vector {
2496
2497
  0;
2497
2498
  1;
2498
- constructor(min, max) {
2499
+ constructor(min, max = min) {
2499
2500
  super(min, max);
2500
2501
  this[0] = min;
2501
2502
  this[1] = max;