diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 42e5618b..c46f54aa 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -0c710d8a5273e756d2125c1cdfa91672b7d213da +b3feb8979f2c7d4b43816b998443fb647a93cbdb diff --git a/examples/resources/demo.js b/examples/resources/demo.js index bc72a3b0..1c88da08 100644 --- a/examples/resources/demo.js +++ b/examples/resources/demo.js @@ -28,7 +28,6 @@ if ( window.$ ) { // init html var table = $('

').append( $('table').clone() ).html(); - var demoHtml = $.trim( $('div.demo-html').html() ); if ( demoHtml ) { @@ -64,15 +63,6 @@ if ( window.$ ) { str = JSON.stringify( str, null, 2 ); } catch ( e ) {} - var strArr = str.split('\n'); - - if(strArr.length > 1000){ - var first = strArr.splice(0, 500); - var second = strArr.splice(strArr.length - 499, 499); - first.push("\n\n... Truncated for brevity - look at your browser's network inspector to see the full source ...\n\n"); - str = first.concat(second).join('\n'); - } - $('div.tabs div.ajax').append( $('').text( str ) );