Remove line breaks in arrays

This commit is contained in:
Albin Larsson
2018-06-13 22:18:57 +02:00
parent 99ac8d4c52
commit 6bff6b317d
12 changed files with 30 additions and 135 deletions

View File

@ -96,11 +96,7 @@ class Fullscreen {
// Check for fullscreen support by vendor prefix
let value = '';
const prefixes = [
'webkit',
'moz',
'ms',
];
const prefixes = ['webkit', 'moz', 'ms'];
prefixes.some(pre => {
if (is.function(document[`${pre}ExitFullscreen`]) || is.function(document[`${pre}CancelFullScreen`])) {