Subversion Repositories ALCASAR

Rev

Rev 2976 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2976 Rev 3179
Line 1... Line 1...
1
/*
1
/*
2
 * File:        jquery.dataTables.js
2
 * File:        jquery.dataTables.js
3
 * Version:     1.8.2+jquery1.9fix+parseJSONfix2+bindfix+samesitefix
3
 * Version:     1.8.2+jquery1.9fix+parseJSONfix2+bindfix+samesitefix+noeval
4
 * Description: Paginate, search and sort HTML tables
4
 * Description: Paginate, search and sort HTML tables
5
 * Author:      Allan Jardine (www.sprymedia.co.uk)
5
 * Author:      Allan Jardine (www.sprymedia.co.uk)
6
 * Created:     28/3/2008
6
 * Created:     28/3/2008
7
 * Language:    Javascript
7
 * Language:    Javascript
8
 * License:     GPL v2 or BSD 3 point style
8
 * License:     GPL v2 or BSD 3 point style
Line 6374... Line 6374...
6374
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>				sFullCookie.length + document.cookie.length;
6374
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>				sFullCookie.length + document.cookie.length;
6375
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>			
6375
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>			
6376
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>			if ( iLength+10 > 4096 ) /* Magic 10 for padding */
6376
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>			if ( iLength+10 > 4096 ) /* Magic 10 for padding */
6377
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>			{
6377
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>			{
6378
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>				var aCookies =document.cookie.split(';');
6378
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>				var aCookies =document.cookie.split(';');
-
 
6379
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>				var sData;
6379
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>				for ( var i=0, iLen=aCookies.length ; i<iLen ; i++ )
6380
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>				for ( var i=0, iLen=aCookies.length ; i<iLen ; i++ )
6380
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>				{
6381
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>				{
6381
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>					if ( aCookies[i].indexOf( sBaseName ) != -1 )
6382
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>					if ( aCookies[i].indexOf( sBaseName ) != -1 )
6382
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>					{
6383
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>					{
6383
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						/* It's a DataTables cookie, so eval it and check the time stamp */
6384
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						/* It's a DataTables cookie, so eval it and check the time stamp */
6384
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						var aSplitCookie = aCookies[i].split('=');
6385
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						var aSplitCookie = aCookies[i].split('=');
-
 
6386
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						try {
-
 
6387
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>							sData = decodeURIComponent(aSplitCookie[1]);
-
 
6388
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>							oData = (typeof JSON.parse == 'function') ? 
-
 
6389
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>								JSON.parse( sData.replace(/'/g, '"') ) : $.parseJSON( sData.replace(/'/g, '"') ); }
6385
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						try { oData = eval( '('+decodeURIComponent(aSplitCookie[1])+')' ); }
6390
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						//try { oData = eval( '('+decodeURIComponent(aSplitCookie[1])+')' ); }
6386
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						catch( e ) { continue; }
6391
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						catch( e ) { continue; }
6387
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						
6392
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						
6388
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						if ( typeof oData.iCreate != 'undefined' && oData.iCreate < iOldTime )
6393
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						if ( typeof oData.iCreate != 'undefined' && oData.iCreate < iOldTime )
6389
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						{
6394
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>						{
6390
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>							sOldName = aSplitCookie[0];
6395
< iPageCount)<= iPageCountHalf)<.*?><.*?><.*?><.*?><.*?>							sOldName = aSplitCookie[0];