1
0
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:
Pat O'Neill
2016-08-11 18:33:34 -04:00
committed by Gary Katsevman
parent ab82bf0008
commit b3e4e95f9c
6 changed files with 6 additions and 4 deletions

View File

@ -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;