mol_dump_lib 0.0.207 → 0.0.209

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.js CHANGED
@@ -2747,7 +2747,7 @@ var $;
2747
2747
  }
2748
2748
  }
2749
2749
  dom_id() {
2750
- return this.toString();
2750
+ return this.toString().replace(/</g, '(').replace(/>/g, ')');
2751
2751
  }
2752
2752
  dom_node_external(next) {
2753
2753
  const node = next ?? $mol_dom_context.document.createElementNS(this.dom_name_space(), this.dom_name());
@@ -3024,6 +3024,9 @@ var $;
3024
3024
  __decorate([
3025
3025
  $mol_mem
3026
3026
  ], $mol_view.prototype, "view_rect", null);
3027
+ __decorate([
3028
+ $mol_memo.method
3029
+ ], $mol_view.prototype, "dom_id", null);
3027
3030
  __decorate([
3028
3031
  $mol_mem
3029
3032
  ], $mol_view.prototype, "dom_node", null);