Lines Matching refs:text
73 var text /*:String*/ = encode(name) + "=" + (encodeValue ? encode(value) : value),
82 text += "; expires=" + expires.toUTCString();
87 text += "; path=" + path;
92 text += "; domain=" + domain;
97 text += "; secure";
101 return text;
117 var text /*:Array*/ = [];
121 text.push(encode(key) + "=" + encode(String(value)));
125 return text.join("&");
130 * @param {String} text The cookie hash string to parse (format: n1=v1&n2=v2).
136 _parseCookieHash : function (text) {
138 var hashParts = text.split("&"),
142 if (text.length){
154 * @param {String} text The cookie string to parse.
161 _parseCookieString : function (text /*:String*/, shouldDecode /*:Boolean*/) /*:Object*/ {
165 if (isString(text) && text.length > 0) {
168 cookieParts = text.split(/;\s/g),
431 var text = this._createCookieString(name, value, !options.raw, options);
432 doc.cookie = text;
433 return text;
489 var text /*:String*/ = this._createCookieString(name, this._createCookieHashString(value), false, options);
490 doc.cookie = text;
491 return text;