Permalink
Switch branches/tags
Nothing to show
Commits on Oct 27, 2010
  1. Firefox throws a security error when attempting to access localStorag…

    stopdropandrew committed Oct 27, 2010
    …e, but IE9 just returns null, so check for it before setting _storage_service
Commits on Oct 26, 2010
  1. issue with firefox dom storage disabled

    andris9
    andris9 committed Oct 26, 2010
Commits on Oct 25, 2010
  1. added reInit

    andris9
    andris9 committed Oct 25, 2010
Commits on Jul 5, 2010
  1. Added method to check currently used backend - $.jStorage.currentBack…

    andris9 committed Jul 5, 2010
    …end() -> String (if backend in use) or False (if not)
Commits on May 26, 2010
Commits on May 24, 2010
  1. fixed issu andris9/jStorage#6

    andris9 committed May 24, 2010
  2. Fixed andris9/jStorage#6

    andris9 committed May 24, 2010
Commits on May 23, 2010
Commits on May 17, 2010
  1. Fix Firefox 3.0.19 bug: globalStorage object needs to cast to String.

    Dan Hipschman authored and andris9 committed May 17, 2010
    Run the following in Firefox 3.0.19:
    
      gs = window.globalStorage[window.location.hostname];
      gs.s = "string value";
      document.write(typeof(gs.s) + "<br>");
    
    and you will see: object
    
    Despite being assigned a string value, the type is still object.  This breaks
    jStorage when used with MooTools because MooTool's JSON.decode does this:
    
    function (string, secure) {
        if ($type(string) != "string" || !string.length) {
            return null;
        }
    
    Hence, we get the error "_storage is null" when using jStorage because it
    can't initialize proper;y.  Note that it works with Prototype because their
    JSON decoder looks like this:
    
    function (str) {
        return String(str).evalJSON();
    }
    
    To fix the issue I've put the String wrapper around _storage_service.jStorage
    when we try to decode it.
Commits on May 6, 2010
  1. Added test page

    andris9 committed May 6, 2010
Commits on May 5, 2010
  1. IE userData support fix

    andris9 committed May 5, 2010
  2. removed semicolons after functions

    Daniel Mendler authored and andris9 committed May 4, 2010
  3. closures!

    Daniel Mendler authored and andris9 committed May 4, 2010
  4. new compressed version

    Daniel Mendler authored and andris9 committed May 4, 2010
  5. catch exceptions in firefox for disabled cookies, minor stylistic imp…

    Daniel Mendler authored and andris9 committed May 4, 2010
    …rovements
Commits on May 3, 2010
  1. issue #3 fix

    andris9 committed May 3, 2010
Commits on Apr 26, 2010
  1. JSLINT check

    andris9 committed Apr 26, 2010
Commits on Apr 22, 2010
  1. readme change

    andris9 committed Apr 22, 2010
Commits on Apr 21, 2010
Commits on Apr 9, 2010
  1. Fixed a bug with IE6

    andris9 committed Apr 9, 2010
  2. Fixed a bug with IE6

    andris9 committed Apr 9, 2010
  3. Fixed a bug with IE6

    andris9 committed Apr 9, 2010
Commits on Apr 7, 2010
  1. mootools support added

    andris9 committed Apr 7, 2010
  2. mootools support added

    andris9 committed Apr 7, 2010
Commits on Mar 28, 2010
  1. bugfix for issue #1

    andris9 committed Mar 28, 2010
Commits on Mar 19, 2010
  1. initial import

    andris9 committed Mar 19, 2010
  2. initial import

    andris9 committed Mar 19, 2010
  3. initial import

    andris9 committed Mar 19, 2010