The source code
-
-
+
+
@@ -64,8 +64,8 @@ Ext.define('Ext.data.SortTypes', {
/**
* Default sort that does nothing
- * @param {Mixed} s The value being converted
- * @return {Mixed} The comparison value
+ * @param {Object} s The value being converted
+ * @return {Object} The comparison value
*/
none : function(s) {
return s;
@@ -80,7 +80,7 @@ Ext.define('Ext.data.SortTypes', {
/**
* Strips all HTML tags to sort on text only
- * @param {Mixed} s The value being converted
+ * @param {Object} s The value being converted
* @return {String} The comparison value
*/
asText : function(s) {
@@ -89,7 +89,7 @@ Ext.define('Ext.data.SortTypes', {
/**
* Strips all HTML tags to sort on text only - Case insensitive
- * @param {Mixed} s The value being converted
+ * @param {Object} s The value being converted
* @return {String} The comparison value
*/
asUCText : function(s) {
@@ -98,7 +98,7 @@ Ext.define('Ext.data.SortTypes', {
/**
* Case insensitive string
- * @param {Mixed} s The value being converted
+ * @param {Object} s The value being converted
* @return {String} The comparison value
*/
asUCString : function(s) {
@@ -107,7 +107,7 @@ Ext.define('Ext.data.SortTypes', {
/**
* Date sorting
- * @param {Mixed} s The value being converted
+ * @param {Object} s The value being converted
* @return {Number} The comparison value
*/
asDate : function(s) {
@@ -122,8 +122,8 @@ Ext.define('Ext.data.SortTypes', {
/**
* Float sorting
- * @param {Mixed} s The value being converted
- * @return {Float} The comparison value
+ * @param {Object} s The value being converted
+ * @return {Number} The comparison value
*/
asFloat : function(s) {
var val = parseFloat(String(s).replace(/,/g, ""));
@@ -132,7 +132,7 @@ Ext.define('Ext.data.SortTypes', {
/**
* Integer sorting
- * @param {Mixed} s The value being converted
+ * @param {Object} s The value being converted
* @return {Number} The comparison value
*/
asInt : function(s) {