Ah, cool. In that case, `localStorage` shouldn’t really ever be loaded, unless it’s forced. In the case that it was I’d expect an error to be output. But we can add that later. Thanks.
- tofumatt


On January 13, 2014 at 21:57:20, Bouhlel Moez (notifications@github.com) wrote:

In src/localStorageWrapper.js:

> @@ -2,8 +2,10 @@
>   
>      'use strict';
>   
> -    // Initialize localStorage and create a variable to use throughout the code.
> -    var localStorage = window.localStorage;
> +    // Initialize localStorage and create a variable to use throughout the code as long it's not running inside a google chrome packaged webapp.
> +    var localStorage;
indexedDB is supported, it will works without the need to add permission on the manifest file.
localStorage/sessionStorage are not allowed to access (replaced with chrome.storage API: http://developer.chrome.com/apps/storage.html http://developer.chrome.com/apps/app_deprecated.html)

—
Reply to this email directly or view it on GitHub.