-<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
-</head>\r
-<body onload="prettyPrint();">\r
- <pre class="prettyprint lang-js">\r
-<div id="cls-Ext.data.SortTypes"></div>/**\r
- * @class Ext.data.SortTypes\r
- * @singleton\r
- * Defines the default sorting (casting?) comparison functions used when sorting data.\r
- */\r
-Ext.data.SortTypes = {\r
- <div id="method-Ext.data.SortTypes-none"></div>/**\r
- * Default sort that does nothing\r
- * @param {Mixed} s The value being converted\r
- * @return {Mixed} The comparison value\r
- */\r
- none : function(s){\r
- return s;\r
- },\r
- \r
- <div id="prop-Ext.data.SortTypes-stripTagsRE"></div>/**\r
- * The regular expression used to strip tags\r
- * @type {RegExp}\r
- * @property\r
- */\r
- stripTagsRE : /<\/?[^>]+>/gi,\r
- \r
- <div id="method-Ext.data.SortTypes-asText"></div>/**\r
- * Strips all HTML tags to sort on text only\r
- * @param {Mixed} s The value being converted\r
- * @return {String} The comparison value\r
- */\r
- asText : function(s){\r
- return String(s).replace(this.stripTagsRE, "");\r
- },\r
- \r
- <div id="method-Ext.data.SortTypes-asUCText"></div>/**\r
- * Strips all HTML tags to sort on text only - Case insensitive\r
- * @param {Mixed} s The value being converted\r
- * @return {String} The comparison value\r
- */\r
- asUCText : function(s){\r
- return String(s).toUpperCase().replace(this.stripTagsRE, "");\r
- },\r
- \r
- <div id="method-Ext.data.SortTypes-asUCString"></div>/**\r
- * Case insensitive string\r
- * @param {Mixed} s The value being converted\r
- * @return {String} The comparison value\r
- */\r
- asUCString : function(s) {\r
- return String(s).toUpperCase();\r
- },\r
- \r
- <div id="method-Ext.data.SortTypes-asDate"></div>/**\r
- * Date sorting\r
- * @param {Mixed} s The value being converted\r
- * @return {Number} The comparison value\r
- */\r
- asDate : function(s) {\r
- if(!s){\r
- return 0;\r
- }\r
- if(Ext.isDate(s)){\r
- return s.getTime();\r
- }\r
- return Date.parse(String(s));\r
- },\r
- \r
- <div id="method-Ext.data.SortTypes-asFloat"></div>/**\r
- * Float sorting\r
- * @param {Mixed} s The value being converted\r
- * @return {Float} The comparison value\r
- */\r
- asFloat : function(s) {\r
- var val = parseFloat(String(s).replace(/,/g, ""));\r
- return isNaN(val) ? 0 : val;\r
- },\r
- \r
- <div id="method-Ext.data.SortTypes-asInt"></div>/**\r
- * Integer sorting\r
- * @param {Mixed} s The value being converted\r
- * @return {Number} The comparison value\r
- */\r
- asInt : function(s) {\r
- var val = parseInt(String(s).replace(/,/g, ""), 10);\r
- return isNaN(val) ? 0 : val;\r
- }\r
-};</pre> \r
-</body>\r
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>The source code</title>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+</head>
+<body onload="prettyPrint();">
+ <pre class="prettyprint lang-js">/*!
+ * Ext JS Library 3.3.1
+ * Copyright(c) 2006-2010 Sencha Inc.
+ * licensing@sencha.com
+ * http://www.sencha.com/license
+ */
+
+<div id="cls-Ext.data.SortTypes"></div>/**
+ * @class Ext.data.SortTypes
+ * @singleton
+ * Defines the default sorting (casting?) comparison functions used when sorting data.
+ */
+Ext.data.SortTypes = {
+ <div id="method-Ext.data.SortTypes-none"></div>/**
+ * Default sort that does nothing
+ * @param {Mixed} s The value being converted
+ * @return {Mixed} The comparison value
+ */
+ none : function(s){
+ return s;
+ },
+
+ <div id="prop-Ext.data.SortTypes-stripTagsRE"></div>/**
+ * The regular expression used to strip tags
+ * @type {RegExp}
+ * @property
+ */
+ stripTagsRE : /<\/?[^>]+>/gi,
+
+ <div id="method-Ext.data.SortTypes-asText"></div>/**
+ * Strips all HTML tags to sort on text only
+ * @param {Mixed} s The value being converted
+ * @return {String} The comparison value
+ */
+ asText : function(s){
+ return String(s).replace(this.stripTagsRE, "");
+ },
+
+ <div id="method-Ext.data.SortTypes-asUCText"></div>/**
+ * Strips all HTML tags to sort on text only - Case insensitive
+ * @param {Mixed} s The value being converted
+ * @return {String} The comparison value
+ */
+ asUCText : function(s){
+ return String(s).toUpperCase().replace(this.stripTagsRE, "");
+ },
+
+ <div id="method-Ext.data.SortTypes-asUCString"></div>/**
+ * Case insensitive string
+ * @param {Mixed} s The value being converted
+ * @return {String} The comparison value
+ */
+ asUCString : function(s) {
+ return String(s).toUpperCase();
+ },
+
+ <div id="method-Ext.data.SortTypes-asDate"></div>/**
+ * Date sorting
+ * @param {Mixed} s The value being converted
+ * @return {Number} The comparison value
+ */
+ asDate : function(s) {
+ if(!s){
+ return 0;
+ }
+ if(Ext.isDate(s)){
+ return s.getTime();
+ }
+ return Date.parse(String(s));
+ },
+
+ <div id="method-Ext.data.SortTypes-asFloat"></div>/**
+ * Float sorting
+ * @param {Mixed} s The value being converted
+ * @return {Float} The comparison value
+ */
+ asFloat : function(s) {
+ var val = parseFloat(String(s).replace(/,/g, ""));
+ return isNaN(val) ? 0 : val;
+ },
+
+ <div id="method-Ext.data.SortTypes-asInt"></div>/**
+ * Integer sorting
+ * @param {Mixed} s The value being converted
+ * @return {Number} The comparison value
+ */
+ asInt : function(s) {
+ var val = parseInt(String(s).replace(/,/g, ""), 10);
+ return isNaN(val) ? 0 : val;
+ }
+};</pre>
+</body>
</html>
\ No newline at end of file