sdether/josh.js — pull request #25 by jedapostol (2014-08-20 23:52:38+00:00)
Title: Any call to local storage must be wrapped inside a try catch

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

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.