regniraj / dat-gui

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

not viewable in ie9 #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. opened the index.html in IE9
2. dat.gui panel didn't appear

What is the expected output? What do you see instead?
Panel is missing, I expected to see the panel

What version of the product are you using? On what operating system?
Win 7, IE9

Please provide any additional information below.

Original issue reported on code.google.com by manny...@gmail.com on 21 Sep 2011 at 9:30

GoogleCodeExporter commented 9 years ago
Got the same problem. Is it solved by someone?

Original comment by nguyenlo...@gmail.com on 3 Jul 2012 at 4:12

GoogleCodeExporter commented 9 years ago
It is a known issue with IE9 when trying to use the localStorage from a local 
file (html) it should not happen when your html is hosted remotely. IE9 does 
not support localStorage from local files.

Maybe dat.gui could make a check before accessing, but by now you can handle it 
just hosting your file.

Original comment by vasco.fl...@gmail.com on 3 Sep 2012 at 2:43

GoogleCodeExporter commented 9 years ago
the localStorage test can be fixed for IE9 by changing the test as below:

  var SUPPORTS_LOCAL_STORAGE = (function() {
    try {
      return 'localStorage' in window && window['localStorage'];
    } catch (e) {
      return false;
    }
  })();

I made this modification to local copy of dat.gui.js and no now errors in IE9.

- However it should be noted that I also see Issue 5 "dropdowns don't work" on 
IE9 so it's not fully functional...

Original comment by kev...@gmail.com on 17 Jan 2013 at 5:16