Lines Matching defs:options
55 var config = $.cookie = function (key, value, options) {
60 options = $.extend({}, config.defaults, options);
62 if (typeof options.expires === 'number') {
63 var days = options.expires, t = options.expires = new Date();
69 options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
70 options.path ? '; path=' + options.path : '',
71 options.domain ? '; domain=' + options.domain : '',
72 options.secure ? '; secure' : ''
107 $.removeCookie = function (key, options) {
112 // Must not alter options, thus extending a fresh object...
113 $.cookie(key, '', $.extend({}, options, { expires: -1 }));