borismus/oauth2-extensions — pull request #9 by neocotic (2012-05-03 07:47:52+00:00)
Title: Bug fixes and API improvements (2 of 4)

The second in a series of four pull requests in an attempt to divide the contents of #4.

This contains optimization of `localStorage` usage by limiting the number of variables persisted (achieved by grouping variables in to single objects) and prefixing such variable names as an attempt to avoid conflicts with extensions.

Previous versions don't need to worry as the code will automatically update `localStorage` data. This is only ever done once per adapter, when an adapter is used for the first time after updating.