mirror of
https://github.com/videojs/video.js.git
synced 2025-07-09 01:15:31 +02:00
@misteroneill enabled and updated videojs-standard and fixed an issue with linting. closes #3508
This commit is contained in:
committed by
Gary Katsevman
parent
ab82bf0008
commit
b3e4e95f9c
@ -4,7 +4,7 @@
|
||||
import document from 'global/document';
|
||||
import window from 'global/window';
|
||||
|
||||
const USER_AGENT = window.navigator && window.navigator.userAgent || "";
|
||||
const USER_AGENT = window.navigator && window.navigator.userAgent || '';
|
||||
const webkitVersionMap = (/AppleWebKit\/([\d.]+)/i).exec(USER_AGENT);
|
||||
const appleWebkitVersion = webkitVersionMap ? parseFloat(webkitVersionMap.pop()) : null;
|
||||
|
||||
|
Reference in New Issue
Block a user