()
| 120 | } |
| 121 | |
| 122 | export function isSafari() { |
| 123 | const userAgent = navigator.userAgent.toLowerCase(); |
| 124 | if (userAgent.indexOf('safari') != -1) { |
| 125 | return true; |
| 126 | } |
| 127 | return false; |
| 128 | } |
| 129 | |
| 130 | export function isPhantomJS() { |
| 131 | if (isNode) { |
no test coverage detected
searching dependent graphs…