Specify that loadSVGFromURL uses XHR and conforms to SOP

This commit is contained in:
kangax 2013-04-02 13:47:33 +02:00
parent 2b70453188
commit 4c5df5ea0c

View file

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