code: function setAttr(node, name, val, asProp, initial) {
  	var el = node.el;
  
  	if (node.ns != null)
  		{ el.setAttribute(name, val); }
  	else if (name === "class")
  		{ el.className = val; }
  	else if (name === "id" || typeof val === "boolean" || asProp)
  		{ el[name] = val; }
  	else if (name[0] === ".")
  		{ el[name.substr(1)] = val; }
  	else
  		{ el.setAttribute(name, val); }
  }
docs: setAttr diff, ".", "on*", bool vals, skip _*, value/checked/selected selectedIndex