remove SHARED_ATTRIBUTES for no svg import

This commit is contained in:
sapics 2015-03-27 15:36:58 +09:00
parent c90062c78e
commit 7d487d55de

View file

@ -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.