amrutabuge / dat-gui

Automatically exported from code.google.com/p/dat-gui
0 stars 0 forks source link

Fails when used in Chrome packaged app, since version 34 #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run Chrome version 34 or above. (issue doesn't arise in 33)
2. Install and run a Chrome packaged app that uses dat.gui.

What is the expected output? What do you see instead?

Expected output is app loading with dat.gui UI appearing. Instead, only white 
screen appears, with Javascript console error: 

window.localStorage is not available in packaged apps. Use chrome.storage.local 
instead.
window.localStorage is not available in packaged apps. Use chrome.storage.local 
instead.
Uncaught TypeError: Cannot read property 'getItem' of undefined 
(dat.gui.min.js:59)

What version of the product are you using? On what operating system?

On Chrome 34 (Canary) on Windows 7.

Please provide any additional information below.

Original issue reported on code.google.com by gad...@gmail.com on 2 Mar 2014 at 12:58