themis/web/js/lib/aui.js
/**
   * Get the value of a cookie.
   * @param name {String} name of cookie to read
   * @param defaultValue {String} the default value of the cookie to return if not found
   */
Get the value of a cookie.
@param name {String} name of cookie to read
@param defaultValue {String} the default value of the cookie to return if not found
Get the value of a cookie . @param name { String } name of cookie to read @param defaultValue { String } the default value of the cookie to return if not found
function read(name, defaultValue) {
      var cookieValue = getCookieValue(COOKIE_NAME);
      var value = getValueFromConglomerate(name, cookieValue);
      if (value != null) {
          return value;
      }
      return defaultValue;
  }
function read ( name , defaultValue ) { var cookieValue = getCookieValue ( COOKIE_NAME ) ; var value = getValueFromConglomerate ( name , cookieValue ) ; if ( value != null ) { return value ; } return defaultValue ; }
Get the value of a cookie.
Get the value of a cookie .