Skip to content

Conversation

@eirikbjornr
Copy link
Contributor

📺 What

Refactor BigscreenPlayer to a Javascript Class.

🛠 How

Changed BigscreenPlayer from function to Class, updating tests accordingly.

💡 Why

A step closer to implementing f.ex. the EventTarget API. This removes the need for registered callbacks and plugins in their current usage. This feature (+ @deprecated-ing all registerCb and plugins) would be a good next step.

✅ Testing

TBD

✅ Acceptance criteria

TBD

@eirikbjornr eirikbjornr added the semver major This PR is a semver major release label Dec 1, 2022
@eirikbjornr eirikbjornr self-assigned this Dec 1, 2022
Copy link
Contributor

@ShiningTrapez ShiningTrapez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Like the use of extremely modern JS like class fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver major This PR is a semver major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants