-
-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get FireFox tests passing 100% (previously, there was one failure)
- Loading branch information
1 parent
9c99e6f
commit 33a0619
Showing
3 changed files
with
8 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
export const isEdge = navigator.userAgent.indexOf('Edge') >= 0; | ||
|
||
// Unlike Chrome, Firefox emits `selectionchange` events. | ||
// Firefox emits `selectionchange` events. | ||
export const isFirefox = navigator.userAgent.indexOf('Firefox') >= 0; | ||
|
||
// Chrome emits `selectionchange` events. | ||
export const isChrome = navigator.userAgent.indexOf('Chrome') >= 0; |
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