andris9/jStorage — pull request #82 by mattflaschen (2014-06-26 21:44:00+00:00)
Title: Restore previous JSON check; 'in' will always be true here

The 'parse' and 'stringify' properties are always assigned in the literal,
so 'in' will evaluate to true.

Instead, check whether either value is falsy (which it will be if none of
the checked methods are available).

This restores the behavior prior to https://github.com/andris9/jStorage/commit/8c1bbfeb0997f6179fec0695df2815e53f68903b , which was correct.