Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Object.assign() Fix #632

Merged
merged 3 commits into from
Dec 19, 2016
Merged

Conversation

BarakaAka1Only
Copy link
Contributor

@BarakaAka1Only BarakaAka1Only commented Dec 16, 2016

Downloaded the new version of Radiant Player (v1.11.3) and noticed no notifications showed and the mini player stated 'No song currently playing' even upon change for a new song.

Taking a look at the console revealed that Object.assign() returns undefined making a lot of the functionality broken with Radiant Player.

Adding a Polyfill will resolve this issue in the webView

Images of the bug:

image

image

Edit:
Tested this on Mavericks, Yosemite, El Capitan and Sierra.

Issue is only present in Mavericks and Yosemite

image

but either way if Object.assign() == undefined => !!1 it will inject the Polyfill fix otherwise ignores ;)

Object.assign() returns undefined making a lot of the functionality
broken with Radiant Player.

Adding a Polyfill will resolve this issue in the webView

Images of the bug:

http://i.imgur.com/0qvzALG.png

http://i.imgur.com/4BtRGA0.png
@jacobwgillespie
Copy link
Member

LGTM!

@jacobwgillespie jacobwgillespie merged commit a5cf704 into radiant-player:master Dec 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants