Skip to content

Commit

Permalink
Merge pull request #76 from mattflaschen/patch-1
Browse files Browse the repository at this point in the history
Note that TTL is in milliseconds in set docs
  • Loading branch information
andris9 committed May 21, 2014
2 parents d07b701 + 22ccf2e commit 67d59fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jstorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@
* @param {Mixed} value Value to set. This can be any value that is JSON
* compatible (Numbers, Strings, Objects etc.).
* @param {Object} [options] - possible options to use
* @param {Number} [options.TTL] - optional TTL value
* @param {Number} [options.TTL] - optional TTL value, in milliseconds
* @return {Mixed} the used value
*/
set: function(key, value, options){
Expand Down

0 comments on commit 67d59fa

Please sign in to comment.