Lines Matching refs:attributes
31 var attributes = arguments[ i ];
32 for (var key in attributes) {
33 result[key] = attributes[key];
40 function api (key, value, attributes) {
49 attributes = extend({
51 }, api.defaults, attributes);
53 if (typeof attributes.expires === 'number') {
55 expires.setMilliseconds(expires.getMilliseconds() + attributes.expires * 864e+5);
56 attributes.expires = expires;
60 attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';
82 for (var attributeName in attributes) {
83 if (!attributes[attributeName]) {
87 if (attributes[attributeName] === true) {
90 stringifiedAttributes += '=' + attributes[attributeName];
153 api.remove = function (key, attributes) {
154 api(key, '', extend(attributes, {