1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-02 14:24:11 +01:00

Merge pull request #123 from timtucker/patch-34

Dev: Fix introduced issue
This commit is contained in:
Allan Jardine 2012-10-07 07:12:37 -07:00
commit 8a6737520a

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;