Linting and minor changes

This commit is contained in:
Sam Potts
2017-10-27 15:06:16 +11:00
parent 71db66d802
commit dd9d5c8898
20 changed files with 8509 additions and 81 deletions

View File

@ -30,19 +30,7 @@
captions: {
defaultActive: true,
},
controls: [
'play-large',
'play',
'progress',
'current-time',
'mute',
'volume',
'captions',
'settings',
'fullscreen',
'pip',
'airplay',
],
controls: ['play-large', 'play', 'progress', 'current-time', 'mute', 'volume', 'captions', 'settings', 'fullscreen', 'pip', 'airplay'],
});
// Expose for testing
@ -67,13 +55,7 @@
newSource(type);
if (historySupport) {
history.pushState(
{
type: type,
},
'',
'#' + type
);
history.pushState({ type: type }, '', '#' + type);
}
});
});