mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
correct reference to document in importSVG
This commit is contained in:
parent
d369984196
commit
96b0603b9c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ function DOMParser() {
|
|||
}
|
||||
|
||||
DOMParser.prototype.parseFromString = function(string, contenType) {
|
||||
var div = doc.createElement('div');
|
||||
var div = document.createElement('div');
|
||||
div.innerHTML = string;
|
||||
return div.firstChild;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue