addyosmani/basket.js — pull request #40 by felipemorais (2012-11-16 16:51:00+00:00)
Title: Changing get method to return object and setting a default time to expire

Previously we always need use json.parse after "get" method. Except when we want check if the script exists in localStorage.
I think that "get" can return a object. To check can use "basket.get(key).exist".

I belive that expiration time is needed for all scripts to internal use, so I put "defaultExpiration" to do this. Default value is 5000, i.e. almost 7 months