File: 2530-2.js

package info (click to toggle)
datatables.js 1.10.21%2Bdfsg-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 22,604 kB
  • sloc: javascript: 64,254; xml: 10,441; php: 4,623; sh: 523; makefile: 21
file content (15 lines) | stat: -rwxr-xr-x 332 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// DATA_TEMPLATE: dom_data
oTest.fnStart( "User given with is left when no scrolling" );

$(document).ready( function () {
	$('#example')[0].style.width = "80%";
	$('#example').dataTable();
	
	oTest.fnTest( 
		"Check user width is left",
		null,
		function () { return $('#example').width() == 640; }
	);
	
	oTest.fnComplete();
} );