     window.localStorage.setItem @key, value
 
 
-  # #### Delete
-  # -----------
+  # #### Clear
+  # ----------
 
-  # Delete data from localStorage.
+  # Clear data from localStorage.
 
-  delete: ->
+  clear: ->
     window.localStorage.removeItem @key
 
 

    document.cookie = "#{@key}=#{value}; #{options.expires}; path=/"


  # #### Delete
  # -----------

  # Delete a cookie.

  delete: ->
    Cookie.set @key, '', {expires: -1}



#
# If you provide your own storage engine, it **must** match the
# API's provided by `Cookie` and `LocalStorage` with `get()`, `set()` and
# `clear()` methods. All methods should use `this.storageKey` to reference
# the key to retrieve data by, and `set()` must accept a key and value. The
# methods will always be called in the correct context by the API, such
# that `this.storageKey` will be available.
