mol_plot_all 1.2.1188 → 1.2.1189
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.deps.json +1 -1
- package/node.js +2 -4
- package/node.js.map +1 -1
- package/node.mjs +2 -4
- package/node.test.js +2 -4
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +2 -4
- package/web.js.map +1 -1
- package/web.mjs +2 -4
package/node.js
CHANGED
|
@@ -2523,6 +2523,8 @@ var $;
|
|
|
2523
2523
|
const val = fields[key];
|
|
2524
2524
|
if (val === undefined)
|
|
2525
2525
|
continue;
|
|
2526
|
+
if (val === el[key])
|
|
2527
|
+
continue;
|
|
2526
2528
|
el[key] = val;
|
|
2527
2529
|
}
|
|
2528
2530
|
}
|
|
@@ -2820,7 +2822,6 @@ var $;
|
|
|
2820
2822
|
return suffix;
|
|
2821
2823
|
}
|
|
2822
2824
|
$.$mol_view_state_key = $mol_view_state_key;
|
|
2823
|
-
const error_showed = new WeakMap();
|
|
2824
2825
|
class $mol_view extends $mol_object {
|
|
2825
2826
|
static Root(id) {
|
|
2826
2827
|
return new this;
|
|
@@ -2967,14 +2968,11 @@ var $;
|
|
|
2967
2968
|
$mol_dom_render_attributes(node, { mol_view_error });
|
|
2968
2969
|
if ($mol_promise_like(error))
|
|
2969
2970
|
break render;
|
|
2970
|
-
if ((error_showed.get(error) ?? this) !== this)
|
|
2971
|
-
break render;
|
|
2972
2971
|
try {
|
|
2973
2972
|
const message = error.message || error;
|
|
2974
2973
|
node.innerText = message.replace(/^|$/mg, '\xA0\xA0');
|
|
2975
2974
|
}
|
|
2976
2975
|
catch { }
|
|
2977
|
-
error_showed.set(error, this);
|
|
2978
2976
|
}
|
|
2979
2977
|
try {
|
|
2980
2978
|
this.auto();
|