mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-03 11:34:41 +00:00
Specify that loadSVGFromURL uses XHR and conforms to SOP
This commit is contained in:
parent
2b70453188
commit
4c5df5ea0c
1 changed files with 1 additions and 1 deletions
|
|
@ -582,7 +582,7 @@
|
|||
};
|
||||
|
||||
/**
|
||||
* Takes url corresponding to an SVG document, and parses it into a set of fabric objects
|
||||
* Takes url corresponding to an SVG document, and parses it into a set of fabric objects. Note that SVG is fetched via XMLHttpRequest, so it needs to conform to SOP (Same Origin Policy)
|
||||
* @method loadSVGFromURL
|
||||
* @memberof fabric
|
||||
* @param {String} url
|
||||
|
|
|
|||
Loading…
Reference in a new issue