try to draw 1000*1000 svg grig

This commit is contained in:
Gnieark 2016-06-29 12:15:45 +02:00
parent b219848f50
commit a7542125de

View File

@ -7,7 +7,7 @@ function createElem(type,attributes){
function createElemNs(type,attributes){
var elem=document.createElement(type);
for (var i in attributes)
{elem.setAttributeNs(i,attributes[i]);}
{elem.setAttributeNs(null,i,attributes[i]);}
return elem;
}