knadh/localStorageDB — pull request #41 by orangecoding (2014-08-11 14:12:51+00:00)
Title: IE7/8 Bugfix

Hey,

if you call drop() in IE 7/8 twice, the first time, the localStorage will be cleared. The second time, an error occurs. delete undefined doesn't work in these browsers. Therefore I suggest to check whether a storage is available before trying to delete it.