lib/abaaso.js
function ( obj, key ) {
		var target;

		if ( regex.svg.test( obj.namespaceURI ) ) {
			obj.removeAttributeNS( obj.namespaceURI, key );
		}
		else {
			if ( obj.nodeName === "SELECT" && key === "selected") {
				target = utility.$( "#" + obj.id + " option[selected=\"selected\"]" )[0];

				if ( target !== undefined ) {
					target.selected = false;
					target.removeAttribute( "selected" );
				}
			}
			else {
				obj.removeAttribute( key );
			}
		}

		return obj;
	}
function ( obj, key ) {
		var target;

		if ( regex.svg.test( obj.namespaceURI ) ) {
			obj.removeAttributeNS( obj.namespaceURI, key );
		}
		else {
			if ( obj.nodeName === "SELECT" && key === "selected") {
				target = utility.$( "#" + obj.id + " option[selected=\"selected\"]" )[0];

				if ( target !== undefined ) {
					target.selected = false;
					target.removeAttribute( "selected" );
				}
			}
			else {
				obj.removeAttribute( key );
			}
		}

		return obj;
	}
function ( obj , key ) { var target ; if ( regex . svg . test ( obj . namespaceURI ) ) { obj . removeAttributeNS ( obj . namespaceURI , key ) ; } else { if ( obj . nodeName === "SELECT" && key === "selected" ) { target = utility . $ ( "#" + obj . id + " option[selected=\"selected\"]" ) [ 0 ] ; if ( target !== undefined ) { target . selected = false ; target . removeAttribute ( "selected" ) ; } } else { obj . removeAttribute ( key ) ; } } return obj ; }
Removes an Element attribute

@method removeAttr
@param  {Mixed}  obj Element
@param  {String} key Attribute name
@return {Object}     Element
Removes an Element attribute