From 4c08043332e39576eed0868c22e6089eafa6aabf Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Sat, 23 Apr 2011 08:03:15 -0400 Subject: Bug 649879 - Update to YUI 2.9.0 r/a=mkanat --- js/yui/cookie/cookie-min.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/yui/cookie') diff --git a/js/yui/cookie/cookie-min.js b/js/yui/cookie/cookie-min.js index fdfae10fe..290c4241a 100644 --- a/js/yui/cookie/cookie-min.js +++ b/js/yui/cookie/cookie-min.js @@ -1,7 +1,7 @@ /* -Copyright (c) 2010, Yahoo! Inc. All rights reserved. +Copyright (c) 2011, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html -version: 2.8.2r1 +version: 2.9.0 */ -YAHOO.namespace("util");YAHOO.util.Cookie={_createCookieString:function(B,D,C,A){var F=YAHOO.lang,E=encodeURIComponent(B)+"="+(C?encodeURIComponent(D):D);if(F.isObject(A)){if(A.expires instanceof Date){E+="; expires="+A.expires.toUTCString();}if(F.isString(A.path)&&A.path!==""){E+="; path="+A.path;}if(F.isString(A.domain)&&A.domain!==""){E+="; domain="+A.domain;}if(A.secure===true){E+="; secure";}}return E;},_createCookieHashString:function(B){var D=YAHOO.lang;if(!D.isObject(B)){throw new TypeError("Cookie._createCookieHashString(): Argument must be an object.");}var C=[];for(var A in B){if(D.hasOwnProperty(B,A)&&!D.isFunction(B[A])&&!D.isUndefined(B[A])){C.push(encodeURIComponent(A)+"="+encodeURIComponent(String(B[A])));}}return C.join("&");},_parseCookieHash:function(E){var D=E.split("&"),F=null,C={};if(E.length>0){for(var B=0,A=D.length;B0){var B=(A===false?function(L){return L;}:decodeURIComponent);var H=J.split(/;\s/g),I=null,C=null,E=null;for(var D=0,F=H.length;D0){for(var B=0,A=D.length;B0){var B=(A===false?function(L){return L;}:decodeURIComponent);var H=J.split(/;\s/g),I=null,C=null,E=null;for(var D=0,F=H.length;D