function(name, value) {
			if (arguments.length == 2) {
				// modifying attribute
				var ix = _.indexOf(_.pluck(this._attributes, 'name'), name.toLowerCase());
				if (~ix) {
					this._attributes[ix].value = value;
				} else {
					this._attributes.push({
						name: name,
						value: value
					});
				}
			}
			
			return (_.find(this.attributeList(), function(attr) {
				return attr.name == name;
			}) || {}).value;
		}
function(name, value) {
			if (arguments.length == 2) {
				
				var ix = _.indexOf(_.pluck(this._attributes, 'name'), name.toLowerCase());
				if (~ix) {
					this._attributes[ix].value = value;
				} else {
					this._attributes.push({
						name: name,
						value: value
					});
				}
			}
			
			return (_.find(this.attributeList(), function(attr) {
				return attr.name == name;
			}) || {}).value;
		}
function ( name , value ) { if ( arguments . length == 2 ) { // modifying attribute var ix = _ . indexOf ( _ . pluck ( this . _attributes , 'name' ) , name . toLowerCase ( ) ) ; if ( ~ ix ) { this . _attributes [ ix ] . value = value ; } else { this . _attributes . push ( { name : name , value : value } ) ; } } return ( _ . find ( this . attributeList ( ) , function ( attr ) { return attr . name == name ; } ) || { } ) . value ; }
Returns or sets attribute value
@param {String} name Attribute name
@param {String} value New attribute value
@returns {String}
Returns or sets attribute value