try to draw 1000*1000 svg grig
This commit is contained in:
parent
f186b5ebe6
commit
b81e5f36d4
|
@ -7,7 +7,7 @@ function createElem(type,attributes){
|
||||||
function createElemNs(type,attributes){
|
function createElemNs(type,attributes){
|
||||||
var elem=document.createElementNS("http://www.w3.org/2000/svg",type);
|
var elem=document.createElementNS("http://www.w3.org/2000/svg",type);
|
||||||
for (var i in attributes)
|
for (var i in attributes)
|
||||||
{elem.setAttributeNs(null,i,attributes[i]);}
|
{elem.setAttribute(i,attributes[i]);}
|
||||||
return elem;
|
return elem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user