mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-18 18:41:08 +00:00
missed one parseSVGDoc (#3977)
This commit is contained in:
parent
5e52cc4a94
commit
da7ba025a1
1 changed files with 2 additions and 2 deletions
|
|
@ -981,8 +981,8 @@
|
|||
doc.loadXML(string.replace(/<!DOCTYPE[\s\S]*?(\[[\s\S]*\])*?>/i, ''));
|
||||
}
|
||||
|
||||
fabric.parseSVGDocument(doc.documentElement, function (results, _options) {
|
||||
callback(results, _options);
|
||||
fabric.parseSVGDocument(doc.documentElement, function (results, _options, elements) {
|
||||
callback(results, _options, elements);
|
||||
}, reviver, options);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue