mirror of
https://github.com/gosticks/PiPer.git
synced 2026-10-06 23:46:56 +00:00
Removed unnecessary ES6 polyfill
Replaces use of Array.includes() with Array.indexOf
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -43,7 +43,8 @@ export const togglePictureInPicture = function(video) {
|
||||
* @param {function(HTMLVideoElement, boolean)} listener - an event listener to add
|
||||
*/
|
||||
export const addPictureInPictureEventListener = function(listener) {
|
||||
if (!eventListeners.includes(listener)) {
|
||||
const index = eventListeners.indexOf(listener);
|
||||
if (index == -1) {
|
||||
eventListeners.push(listener);
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.2</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>199</string>
|
||||
<string>200</string>
|
||||
<key>Developer Identifier</key>
|
||||
<string>BQ6Q24MF9X</string>
|
||||
<key>URL</key>
|
||||
|
||||
Reference in New Issue
Block a user