raw/angular-local-storage/angular-local-storage.js
function() {
      try {
        return navigator.cookieEnabled ||
          ("cookie" in $document && ($document.cookie.length > 0 ||
          ($document.cookie = "test").indexOf.call($document.cookie, "test") > -1));
      } catch (e) {
          $rootScope.$broadcast('LocalStorageModule.notification.error', e.message);
          return false;
      }
    }
function() {
      try {
        return navigator.cookieEnabled ||
          ("cookie" in $document && ($document.cookie.length > 0 ||
          ($document.cookie = "test").indexOf.call($document.cookie, "test") > -1));
      } catch (e) {
          $rootScope.$broadcast('LocalStorageModule.notification.error', e.message);
          return false;
      }
    }
function ( ) { try { return navigator . cookieEnabled || ( "cookie" in $document && ( $document . cookie . length > 0 || ( $document . cookie = "test" ) . indexOf . call ( $document . cookie , "test" ) > - 1 ) ) ; } catch ( e ) { $rootScope . $broadcast ( 'LocalStorageModule.notification.error' , e . message ) ; return false ; } }
Checks the browser to see if cookies are supported
Checks the browser to see if cookies are supported