Skip to content

Commit

Permalink
chore: 稳定性
Browse files Browse the repository at this point in the history
  • Loading branch information
army8735 committed Oct 11, 2023
1 parent 20a76b2 commit 959a755
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
22 changes: 11 additions & 11 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14251,42 +14251,42 @@
}, {
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: "__currentStyle",
get: function get() {
return this.__domParent.__currentStyle;
return (this.__domParent || {}).__currentStyle;
}
}, {
key: "style",
get: function get() {
return this.__domParent.__style;
return (this.__domParent || {}).__style;
}
}, {
key: "computedStyle",
get: function get() {
return this.__domParent.__computedStyle;
return (this.__domParent || {}).__computedStyle;
}
}, {
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: "__cacheStyle",
get: function get() {
return this.__domParent.__cacheStyle;
return (this.__domParent || {}).__cacheStyle;
}
}, {
key: "bbox",
Expand Down Expand Up @@ -14323,17 +14323,17 @@
}, {
key: "matrix",
get: function get() {
return this.__domParent.__matrix;
return (this.__domParent || {}).__matrix;
}
}, {
key: "matrixEvent",
get: function get() {
return this.__domParent.__matrixEvent;
return (this.__domParent || {}).__matrixEvent;
}
}, {
key: "perspectiveMatrix",
get: function get() {
return this.__domParent.__perspectiveMatrix;
return (this.__domParent || {}).__perspectiveMatrix;
}
}, {
key: "fitFontSize",
Expand Down
2 changes: 1 addition & 1 deletion index.js.map

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions src/node/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -1004,35 +1004,35 @@ 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 __currentStyle() {
return this.__domParent.__currentStyle;
return (this.__domParent || {}).__currentStyle;
}

get style() {
return this.__domParent.__style;
return (this.__domParent || {}).__style;
}

get computedStyle() {
return this.__domParent.__computedStyle;
return (this.__domParent || {}).__computedStyle;
}

get __computedStyle() {
return this.__domParent.__computedStyle;
return (this.__domParent || {}).__computedStyle;
}

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

get __cacheStyle() {
return this.__domParent.__cacheStyle;
return (this.__domParent || {}).__cacheStyle;
}

get bbox() {
Expand Down Expand Up @@ -1064,15 +1064,15 @@ class Text extends Node {
}

get matrix() {
return this.__domParent.__matrix;
return (this.__domParent || {}).__matrix;
}

get matrixEvent() {
return this.__domParent.__matrixEvent;
return (this.__domParent || {}).__matrixEvent;
}

get perspectiveMatrix() {
return this.__domParent.__perspectiveMatrix;
return (this.__domParent || {}).__perspectiveMatrix;
}

get fitFontSize() {
Expand Down

0 comments on commit 959a755

Please sign in to comment.