try to draw 1000*1000 svg grig
This commit is contained in:
parent
b219848f50
commit
a7542125de
|
@ -7,7 +7,7 @@ function createElem(type,attributes){
|
||||||
function createElemNs(type,attributes){
|
function createElemNs(type,attributes){
|
||||||
var elem=document.createElement(type);
|
var elem=document.createElement(type);
|
||||||
for (var i in attributes)
|
for (var i in attributes)
|
||||||
{elem.setAttributeNs(i,attributes[i]);}
|
{elem.setAttributeNs(null,i,attributes[i]);}
|
||||||
return elem;
|
return elem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user