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
@ -1,6 +1,6 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 0.12
|
||||
- 4.4
|
||||
before_install:
|
||||
- export CHROME_BIN=chromium-browser
|
||||
- export DISPLAY=:99.0
|
||||
|
@ -10,6 +10,7 @@ CHANGELOG
|
||||
* greenkeeper updated karma dependencies ([view](https://github.com/videojs/video.js/pull/3523))
|
||||
* @BrandonOCasey updated language docs to link to IANA language registry ([view](https://github.com/videojs/video.js/pull/3493))
|
||||
* @gkatsev removed unused dependencies ([view](https://github.com/videojs/video.js/pull/3516))
|
||||
* @misteroneill enabled and updated videojs-standard and fixed an issue with linting ([view](https://github.com/videojs/video.js/pull/3508))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -454,6 +454,7 @@ module.exports = function(grunt) {
|
||||
grunt.loadNpmTasks('gkatsev-grunt-sass');
|
||||
|
||||
const buildDependents = [
|
||||
'shell:lint',
|
||||
'clean:build',
|
||||
|
||||
'browserify:build',
|
||||
|
@ -87,7 +87,7 @@
|
||||
"time-grunt": "^1.1.1",
|
||||
"uglify-js": "~2.3.6",
|
||||
"videojs-doc-generator": "0.0.1",
|
||||
"videojs-standard": "^5.0.0"
|
||||
"videojs-standard": "^5.2.0"
|
||||
},
|
||||
"vjsstandard": {
|
||||
"ignore": [
|
||||
|
@ -574,7 +574,7 @@ class Html5 extends Tech {
|
||||
*/
|
||||
supportsFullScreen() {
|
||||
if (typeof this.el_.webkitEnterFullScreen === 'function') {
|
||||
const userAgent = window.navigator && window.navigator.userAgent || "";
|
||||
const userAgent = window.navigator && window.navigator.userAgent || '';
|
||||
|
||||
// Seems to be broken in Chromium/Chrome && Safari in Leopard
|
||||
if ((/Android/).test(userAgent) || !(/Chrome|Mac OS X 10.5/).test(userAgent)) {
|
||||
|
@ -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