1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-18 16:54:14 +01:00

Update media/src/api/api.static.js

Variable initialization was wrong in the prior pull (should have been iThat, not sThat)
This commit is contained in:
Tim Tucker 2012-10-07 09:11:10 -03:00
parent f420f1462b
commit 2b35b262cb

View File

@ -1,4 +1,3 @@
/** /**
* Provide a common method for plug-ins to check the version of DataTables being used, in order * Provide a common method for plug-ins to check the version of DataTables being used, in order
* to ensure compatibility. * to ensure compatibility.
@ -16,7 +15,7 @@ DataTable.fnVersionCheck = function( sVersion )
{ {
var aThis = DataTable.ext.sVersion.split('.'); var aThis = DataTable.ext.sVersion.split('.');
var aThat = sVersion.split('.'); var aThat = sVersion.split('.');
var iThis, sThat; var iThis, iThat;
for ( var i=0, iLen=aThat.length ; i<iLen ; i++ ){ for ( var i=0, iLen=aThat.length ; i<iLen ; i++ ){
iThis = parseInt( aThis[i], 10 ) || 0; iThis = parseInt( aThis[i], 10 ) || 0;