daleharvey/pouchdb — pull request #1728 by tlvince (2014-03-25 18:26:59+00:00)
Title: Short-circuit if isChromeApp in localStorage check

Any calls made to `localStorage` in Chrome Apps will return:

> window.localStorage is not available in packaged apps. Use
> chrome.storage.local instead.

Therefore, guard against it if we're in a Chrome App.

Closes #1727.