소스 검색

Update ionExample.js

Garrett Johnson 4 년 전
부모
커밋
86536f03a4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 );
 
 }