Lines Matching refs:text
75 var text /*:String*/ = encode(name) + "=" + (encodeValue ? encode(value) : value),
84 text += "; expires=" + expires.toUTCString();
89 text += "; path=" + path;
94 text += "; domain=" + domain;
99 text += "; secure";
103 return text;
119 var text /*:Array*/ = [];
123 text.push(encode(key) + "=" + encode(String(value)));
127 return text.join("&");
132 * @param {String} text The cookie hash string to parse (format: n1=v1&n2=v2).
138 _parseCookieHash : function (text) {
140 var hashParts = text.split("&"),
144 if (text.length){
156 * @param {String} text The cookie string to parse.
163 _parseCookieString : function (text /*:String*/, shouldDecode /*:Boolean*/) /*:Object*/ {
167 if (isString(text) && text.length > 0) {
170 cookieParts = text.split(/;\s/g),
433 var text = this._createCookieString(name, value, !options.raw, options);
434 doc.cookie = text;
435 return text;
491 var text /*:String*/ = this._createCookieString(name, this._createCookieHashString(value), false, options);
492 doc.cookie = text;
493 return text;