Skip to content

Commit faaeb5d

Browse files
author
Guru Prasad Srinivasa
committed
Linting fixes
1 parent 6e41d5e commit faaeb5d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/js/plugins/youtube.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ const youtube = {
310310
if (is.string(input)) {
311311
label = input;
312312
} else if (is.object(input)) {
313-
label = input.label;
313+
({label} = input);
314314
}
315315
instance.setPlaybackQuality(mapQualityUnit(label));
316316
},

src/js/plyr.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import source from './source';
1818
import Storage from './storage';
1919
import support from './support';
2020
import ui from './ui';
21-
import { closest } from './utils/arrays';
2221
import { createElement, hasClass, removeElement, replaceElement, toggleClass, wrap } from './utils/elements';
2322
import { off, on, once, triggerEvent, unbindListeners } from './utils/events';
2423
import is from './utils/is';

0 commit comments

Comments
 (0)