Skip to content

Commit

Permalink
style(loader): fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
towerz committed Jan 12, 2018
1 parent 2a6353c commit e9eac0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/loader/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default class Loader extends BaseObject {
HTML5VideoPlayback,
HTML5AudioPlayback,
]

if (!useOnlyPlainHtml5Plugins) {
this.playbackPlugins = [
...this.playbackPlugins,
Expand Down
1 change: 0 additions & 1 deletion test/components/loader_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ describe('Loader', function() {

it('should not contain the MSE/Flash based playbacks when PLAIN_HTML5_ONLY is set', function() {
const loader = new Loader([], 0, true)
// expected order from previous Clappr versions
const expectedPlaybacks = [HTML5VideoPlayback, HTML5AudioPlayback, HTMLImgPlayback, NoOp]
expect(loader.playbackPlugins).to.deep.equal(expectedPlaybacks)
})
Expand Down

0 comments on commit e9eac0d

Please sign in to comment.