correct reference to document in importSVG

This commit is contained in:
Amit Halberstam 2013-06-30 13:23:38 +03:00
parent d369984196
commit 96b0603b9c

View file

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