public/javascripts/yui/storage/storage.js
function(key) {
			Y.log("removing " + key);
			
			if (this.hasKey(key)) {
                var oldValue = this._getItem(key);
                if (! oldValue) {oldValue = null;}
                this._removeItem(key);
				this.fireEvent(this.CE_CHANGE, new YU.StorageEvent(this, key, oldValue, null, YU.StorageEvent.TYPE_REMOVE_ITEM));
			}
			else {
				// HTML 5 spec says to do nothing
			}
		}
function(key) {
			Y.log("removing " + key);
			
			if (this.hasKey(key)) {
                var oldValue = this._getItem(key);
                if (! oldValue) {oldValue = null;}
                this._removeItem(key);
				this.fireEvent(this.CE_CHANGE, new YU.StorageEvent(this, key, oldValue, null, YU.StorageEvent.TYPE_REMOVE_ITEM));
			}
			else {
				// HTML 5 spec says to do nothing
			}
		}
function ( key ) { Y . log ( "removing " + key ) ; if ( this . hasKey ( key ) ) { var oldValue = this . _getItem ( key ) ; if ( ! oldValue ) { oldValue = null ; } this . _removeItem ( key ) ; this . fireEvent ( this . CE_CHANGE , new YU . StorageEvent ( this , key , oldValue , null , YU . StorageEvent . TYPE_REMOVE_ITEM ) ) ; } else { // HTML 5 spec says to do nothing } }
Remove an item from the data storage.
@method setItem
@param key {String} Required. The key to remove (DOMString in HTML 5 spec).
@public
Remove an item from the data storage .