X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/source/CookieProvider.html?ds=inline 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); }