Skip to content

Commit

Permalink
chore: 0.63.5
Browse files Browse the repository at this point in the history
  • Loading branch information
army8735 committed Oct 10, 2023
1 parent 51e7376 commit 4ee947c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions index.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -12083,12 +12083,12 @@ var Text = /*#__PURE__*/function (_Node) {
}, {
key: "root",
get: function get() {
return this.domParent.root;
return (this.domParent || {}).root;
}
}, {
key: "currentStyle",
get: function get() {
return this.domParent.currentStyle;
return (this.domParent || {}).currentStyle;
}
}, {
key: "style",
Expand All @@ -12098,12 +12098,12 @@ var Text = /*#__PURE__*/function (_Node) {
}, {
key: "computedStyle",
get: function get() {
return this.domParent.computedStyle;
return (this.domParent || {}).computedStyle;
}
}, {
key: "cacheStyle",
get: function get() {
return this.domParent.__cacheStyle;
return (this.domParent || {}).__cacheStyle;
}
}, {
key: "bbox",
Expand Down
2 changes: 1 addition & 1 deletion index.es.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12089,12 +12089,12 @@
}, {
key: "root",
get: function get() {
return this.domParent.root;
return (this.domParent || {}).root;
}
}, {
key: "currentStyle",
get: function get() {
return this.domParent.currentStyle;
return (this.domParent || {}).currentStyle;
}
}, {
key: "style",
Expand All @@ -12104,12 +12104,12 @@
}, {
key: "computedStyle",
get: function get() {
return this.domParent.computedStyle;
return (this.domParent || {}).computedStyle;
}
}, {
key: "cacheStyle",
get: function get() {
return this.domParent.__cacheStyle;
return (this.domParent || {}).__cacheStyle;
}
}, {
key: "bbox",
Expand Down
2 changes: 1 addition & 1 deletion index.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/node/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -784,23 +784,23 @@ class Text extends Node {
}

get root() {
return this.domParent.root;
return (this.domParent || {}).root;
}

get currentStyle() {
return this.domParent.currentStyle;
return (this.domParent || {}).currentStyle;
}

get style() {
return this.__style;
}

get computedStyle() {
return this.domParent.computedStyle;
return (this.domParent || {}).computedStyle;
}

get cacheStyle() {
return this.domParent.__cacheStyle;
return (this.domParent || {}).__cacheStyle;
}

get bbox() {
Expand Down

0 comments on commit 4ee947c

Please sign in to comment.