X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/docs/source/CookieProvider.html diff --git a/docs/source/CookieProvider.html b/docs/source/CookieProvider.html index b15acc95..0200784f 100644 --- a/docs/source/CookieProvider.html +++ b/docs/source/CookieProvider.html @@ -60,15 +60,13 @@ Ext.extend(Ext.state.CookieProvider, Ext.state.Provider, { // private readCookies : function(){ - var cookies = {}, - c = document.cookie + ";", - re = /\s?(.*?)=(.*?);/g, - matches, - name, value; - + var cookies = {}; + var c = document.cookie + ";"; + var re = /\s?(.*?)=(.*?);/g; + var matches; while((matches = re.exec(c)) != null){ - name = matches[1]; - value = matches[2]; + var name = matches[1]; + var value = matches[2]; if(name && name.substring(0,3) == "ys-"){ cookies[name.substr(3)] = this.decodeValue(value); }