sdether / josh.js

Toolkit for building a bash-like shell in the browser, including full readline support
http://sdether.github.com/josh.js/
Apache License 2.0
390 stars 76 forks source link

Any call to local storage must be wrapped inside a try catch #25

Closed jedapostol closed 10 years ago

jedapostol commented 10 years ago

Issue:https://github.com/sdether/josh.js/issues/24 CodeReview: Aaron Mars, and Arne?

Wrapped any call to local storage methods, in a try catch. Browser storage mechanisms such as localstorage do not work in Safari Private browsing. This error is causing MindTouch methods to fail, thus causing alot of components to stop working.