Lines Matching refs:cookie
3 * https://github.com/carhartl/jquery-cookie
37 // This is a quoted cookie as according to RFC2068, unescape...
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.
55 var config = $.cookie = function (key, value, options) {
67 return (document.cookie = [
82 // calling $.cookie().
83 var cookies = document.cookie ? document.cookie.split('; ') : [];
88 var cookie = parts.join('=');
92 result = read(cookie, value);
96 // Prevent storing a cookie that we couldn't decode.
97 if (!key && (cookie = read(cookie)) !== undefined) {
98 result[name] = cookie;
108 if ($.cookie(key) === undefined) {
113 $.cookie(key, '', $.extend({}, options, { expires: -1 }));
114 return !$.cookie(key);