src/elements/Elt.dom.js
function(elt,name,value){
		/*#if DEV*/if(elt.nodeType !== NodeTypes.ELEMENT) throw new Error('setAttr not allowed on non-element nodes'); /*#/if*/
		value===null ? elt.removeAttribute(name) : elt.setAttribute(name,value);
	}
function(elt,name,value){
		/*#if DEV*/if(elt.nodeType !== NodeTypes.ELEMENT) throw new Error('setAttr not allowed on non-element nodes'); /*#/if*/
		value===null ? elt.removeAttribute(name) : elt.setAttribute(name,value);
	}
Overrided in dom.js