-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PLATUI-1154: Add polyfill for Number.isNaN to fix timeout dialog issu…
…e on IE Tested that the timeout dialog displays on: Mac OS 11.3 Chrome 90 Mac OS 11.3 Firefox 88 Mac OS 11.3 Safari 14.1 Windows 10 IE 11 Windows 10 Edge 90 Windows 10 Firefox 88 Windows 10 Chrome 90 Android v9 Samsung Galaxy S10 Chrome Android v9 Samsung Galaxy S10 Samsung Internet iPhone X, iOS 14.4.2, Safari iPhone X, iOS 14.4.2, Chrome
- Loading branch information
1 parent
382d0b6
commit 94e26e5
Showing
6 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import '../../vendor/polyfills/Number/prototype/isNaN'; | ||
|
||
function ValidateInput() { | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN | ||
Number.isNaN = Number.isNaN || function isNaN(input) { | ||
return typeof input === 'number' && input !== input; | ||
} |