brianleroux/lawnchair — pull request #106 by morethanreal (2012-05-15 22:34:06+00:00)
Title: fixed private browsing mode in mobile safari

If mobile safari is in private browsing mode window.localStorage is defined but calling setItem() throws an exception. This commit checks for this in the dom adapter's valid() function.