andris9/jStorage — Issue #21: enhancement: add third argument to .set()... TTL
Author: lookfirst
Created: 2011-12-26 20:21:41+00:00
State: open

Thanks for an amazingly great library. I wish I had found it earlier. I just switched a bunch of cookie based code over to it.

It would be nice to just be able to call .set() with a TTL instead of having to call the ttl method separately. This could be an optional third argument.

Also, I just noticed that the ttl method is missing documentation at the top of the .js file.

cheers.