Ver código fonte

Update ionExample.js

Garrett Johnson 4 anos atrás
pai
commit
86536f03a4
1 arquivos alterados com 1 adições e 1 exclusões
  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 );
 
 }