Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
docs($cacheFactory): Correct method's description
Browse files Browse the repository at this point in the history
  • Loading branch information
marcenuc authored and vojtajina committed Feb 29, 2012
1 parent 25d207c commit e68c02c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/service/cacheFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
*
* @returns {object} Newly created cache object with the following set of methods:
*
* - `{string}` `id()` — Returns id or name of the cache.
* - `{number}` `size()` — Returns number of items currently in the cache
* - `{void}` `put({string} key, {*} value)` — Puts a new key-value pair into the cache
* - `{(*}} `get({string} key) — Returns cached value for `key` or undefined for cache miss.
* - `{void}` `remove{string} key) — Removes a key-value pair from the cache.
* - `{object}` `info()` — Returns id, size, and options of cache.
* - `{void}` `put({string} key, {*} value)` — Puts a new key-value pair into the cache.
* - `{{*}} `get({string} key) — Returns cached value for `key` or undefined for cache miss.
* - `{void}` `remove({string} key) — Removes a key-value pair from the cache.
* - `{void}` `removeAll() — Removes all cached values.
* - `{void}` `destroy() — Removes references to this cache from $cacheFactory.
*
*/
function $CacheFactoryProvider() {
Expand Down

0 comments on commit e68c02c

Please sign in to comment.