merged cont.
[opensuse:yast-rest-service.git] / webservice / public / javascripts / webyast-localstorage.js
1 localstorage_supported = function() {
2   try {
3     return 'localStorage' in window && window['localStorage'] !== null;
4   } catch(e){
5     return false;
6   }
7 }
8