Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / docs / source / Cookies.html
index 4df5f2b..284f9d6 100644 (file)
@@ -1,5 +1,6 @@
 <html>\r
 <head>\r
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    \r
   <title>The source code</title>\r
     <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
     <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
@@ -15,8 +16,8 @@ Ext.util.Cookies = {
      * Create a cookie with the specified name and value. Additional settings\r
      * for the cookie may be optionally specified (for example: expiration,\r
      * access restriction, SSL).\r
-     * @param {Object} name\r
-     * @param {Object} value\r
+     * @param {String} name The name of the cookie to set. \r
+     * @param {Mixed} value The value to set for the cookie.\r
      * @param {Object} expires (Optional) Specify an expiration date the\r
      * cookie is to persist until.  Note that the specified Date object will\r
      * be converted to Greenwich Mean Time (GMT). \r
@@ -51,7 +52,7 @@ Ext.util.Cookies = {
      * <pre><code>\r
      * var validStatus = Ext.util.Cookies.get("valid");\r
      * </code></pre>\r
-     * @param {Object} name The name of the cookie to get\r
+     * @param {String} name The name of the cookie to get\r
      * @return {Mixed} Returns the cookie value for the specified name;\r
      * null if the cookie name does not exist.\r
      */\r
@@ -76,8 +77,8 @@ Ext.util.Cookies = {
 \r
     <div id="method-Ext.util.Cookies-clear"></div>/**\r
      * Removes a cookie with the provided name from the browser\r
-     * if found.\r
-     * @param {Object} name The name of the cookie to remove\r
+     * if found by setting its expiration date to sometime in the past. \r
+     * @param {String} name The name of the cookie to remove\r
      */\r
     clear : function(name){\r
         if(Ext.util.Cookies.get(name)){\r