* Whether the current browser is based on the WebKit engine. * @param {string} ua * @return {boolean}
(ua)
| 170 | * @return {boolean} |
| 171 | */ |
| 172 | function isWebKit(ua) { |
| 173 | return /WebKit/i.test(ua) && !/Edge/i.test(ua); |
| 174 | } |
| 175 | |
| 176 | /** |
| 177 | * Use an existing position observer within the window, if any. |
no test coverage detected