mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-03-16 22:10:32 +00:00
remove SHARED_ATTRIBUTES for no svg import
This commit is contained in:
parent
c90062c78e
commit
7d487d55de
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ fabric.isTouchSupported = "ontouchstart" in fabric.document.documentElement;
|
|||
fabric.isLikelyNode = typeof Buffer !== 'undefined' &&
|
||||
typeof window === 'undefined';
|
||||
|
||||
/* _FROM_SVG_START_ */
|
||||
/**
|
||||
* Attributes parsed from all SVG elements
|
||||
* @type array
|
||||
|
|
@ -49,6 +50,7 @@ fabric.SHARED_ATTRIBUTES = [
|
|||
"stroke-linejoin", "stroke-miterlimit",
|
||||
"stroke-opacity", "stroke-width"
|
||||
];
|
||||
/* _FROM_SVG_END_ */
|
||||
|
||||
/**
|
||||
* Pixel per Inch as a default value set to 96. Can be changed for more realistic conversion.
|
||||
|
|
|
|||
Loading…
Reference in a new issue