Bladeren bron

Update ionExample.js

Garrett Johnson 4 jaren geleden
bovenliggende
commit
86536f03a4
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      example/ionExample.js

+ 1 - 1
example/ionExample.js

@@ -126,7 +126,7 @@ function setupTiles() {
 
 function isInt( input ) {
 
-	return ( typeof input === 'string' ) ? ! isNaN( input ) && ! isNaN( parseFloat( input, 10 ) ) && Number.isInteger( parseFloat( input, 10 ) ) : Number.isInteger( input );
+	return ( typeof input === 'string' ) ? ! isNaN( input ) && ! isNaN( parseFloat( input ) ) && Number.isInteger( parseFloat( input ) ) : Number.isInteger( input );
 
 }