vendor/assets/javascripts/webshims/shims/json-storage.js in webshims-rails-1.11.3.1 vs vendor/assets/javascripts/webshims/shims/json-storage.js in webshims-rails-1.11.6

- old
+ new

@@ -9,10 +9,12 @@ //modified version from http://gist.github.com/350433 //using window.name for sessionStorage and cookies for localStorage (function () { -var $ = webshims.$ || jQuery; +var $ = webshims.$ || jQuery; +webshims.error("The json-storage is depreacated. IE8+ supports this feature. No one should need a polyfill anymore!"); + if ('localStorage' in window && 'sessionStorage' in window) { $.webshims.isReady('json-storage', true); return; }