| H A D | jquery.cookie.js | 23 function encode(s) { argument 24 return config.raw ? s : encodeURIComponent(s); 27 function decode(s) { argument 28 return config.raw ? s : decodeURIComponent(s); 35 function parseCookieValue(s) { argument 36 if (s.indexOf('"') === 0) { 38 s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); 43 // If we can't decode the cookie, ignore it, it's unusable. 44 // If we can't parse the cookie, ignore it, it's unusable. 45 s = decodeURIComponent(s.replace(pluses, ' ')); [all …]
|