1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Fix: Remove characters 0x80-0xFF. I had a new non-ASCII characters in by mistake and the PHP JSON processor objects to these characters when parsing the output from the JSDoc debug output.

This commit is contained in:
Allan Jardine 2012-01-30 16:46:05 +00:00
parent 876a75f6ad
commit acfee98b7c
2 changed files with 12 additions and 12 deletions

View File

@ -6635,7 +6635,7 @@
* *
* @example * @example
* // Updating the cached sorting information with user entered values in HTML input elements * // Updating the cached sorting information with user entered values in HTML input elements
* jQuery.fn.dataTableExt.afnSortData['dom-text'] = function  ( oSettings, iColumn ) * jQuery.fn.dataTableExt.afnSortData['dom-text'] = function ( oSettings, iColumn )
* { * {
* var aData = []; * var aData = [];
* $( 'td:eq('+iColumn+') input', oSettings.oApi._fnGetTrNodes(oSettings) ).each( function () { * $( 'td:eq('+iColumn+') input', oSettings.oApi._fnGetTrNodes(oSettings) ).each( function () {
@ -6732,7 +6732,7 @@
* } * }
* *
* // Check prefixed by currency * // Check prefixed by currency
* if ( sData.charAt(0) == '$' || sData.charAt(0) == '£' ) { * if ( sData.charAt(0) == '$' || sData.charAt(0) == '£' ) {
* return 'currency'; * return 'currency';
* } * }
* return null; * return null;
@ -7026,10 +7026,10 @@
* // Case-sensitive string sorting, with no pre-formatting method * // Case-sensitive string sorting, with no pre-formatting method
* $.extend( $.fn.dataTableExt.oSort, { * $.extend( $.fn.dataTableExt.oSort, {
* "string-case-asc": function(x,y) { * "string-case-asc": function(x,y) {
* return ((x < y) ? -1 : ((x > y) ?  1 : 0)); * return ((x < y) ? -1 : ((x > y) ? 1 : 0));
* }, * },
* "string-case-desc": function(x,y) { * "string-case-desc": function(x,y) {
* return ((x < y) ?  1 : ((x > y) ? -1 : 0)); * return ((x < y) ? 1 : ((x > y) ? -1 : 0));
* } * }
* } ); * } );
* *
@ -7040,10 +7040,10 @@
* return x.toLowerCase(); * return x.toLowerCase();
* }, * },
* "string-asc": function(x,y) { * "string-asc": function(x,y) {
* return ((x < y) ? -1 : ((x > y) ?  1 : 0)); * return ((x < y) ? -1 : ((x > y) ? 1 : 0));
* }, * },
* "string-desc": function(x,y) { * "string-desc": function(x,y) {
* return ((x < y) ?  1 : ((x > y) ? -1 : 0)); * return ((x < y) ? 1 : ((x > y) ? -1 : 0));
* } * }
* } ); * } );
*/ */

View File

@ -102,7 +102,7 @@ DataTable.models.ext = {
* *
* @example * @example
* // Updating the cached sorting information with user entered values in HTML input elements * // Updating the cached sorting information with user entered values in HTML input elements
* jQuery.fn.dataTableExt.afnSortData['dom-text'] = function  ( oSettings, iColumn ) * jQuery.fn.dataTableExt.afnSortData['dom-text'] = function ( oSettings, iColumn )
* { * {
* var aData = []; * var aData = [];
* $( 'td:eq('+iColumn+') input', oSettings.oApi._fnGetTrNodes(oSettings) ).each( function () { * $( 'td:eq('+iColumn+') input', oSettings.oApi._fnGetTrNodes(oSettings) ).each( function () {
@ -199,7 +199,7 @@ DataTable.models.ext = {
* } * }
* *
* // Check prefixed by currency * // Check prefixed by currency
* if ( sData.charAt(0) == '$' || sData.charAt(0) == '£' ) { * if ( sData.charAt(0) == '$' || sData.charAt(0) == '&pound;' ) {
* return 'currency'; * return 'currency';
* } * }
* return null; * return null;
@ -493,10 +493,10 @@ DataTable.models.ext = {
* // Case-sensitive string sorting, with no pre-formatting method * // Case-sensitive string sorting, with no pre-formatting method
* $.extend( $.fn.dataTableExt.oSort, { * $.extend( $.fn.dataTableExt.oSort, {
* "string-case-asc": function(x,y) { * "string-case-asc": function(x,y) {
* return ((x < y) ? -1 : ((x > y) ?  1 : 0)); * return ((x < y) ? -1 : ((x > y) ? 1 : 0));
* }, * },
* "string-case-desc": function(x,y) { * "string-case-desc": function(x,y) {
* return ((x < y) ?  1 : ((x > y) ? -1 : 0)); * return ((x < y) ? 1 : ((x > y) ? -1 : 0));
* } * }
* } ); * } );
* *
@ -507,10 +507,10 @@ DataTable.models.ext = {
* return x.toLowerCase(); * return x.toLowerCase();
* }, * },
* "string-asc": function(x,y) { * "string-asc": function(x,y) {
* return ((x < y) ? -1 : ((x > y) ?  1 : 0)); * return ((x < y) ? -1 : ((x > y) ? 1 : 0));
* }, * },
* "string-desc": function(x,y) { * "string-desc": function(x,y) {
* return ((x < y) ?  1 : ((x > y) ? -1 : 0)); * return ((x < y) ? 1 : ((x > y) ? -1 : 0));
* } * }
* } ); * } );
*/ */