SRGSSR / pillarbox-web

Pillarbox is a versatile media playback ecosystem engineered for the web.
https://srgssr.github.io/pillarbox-web-demo/
MIT License
11 stars 1 forks source link

refactor: use function instead of class #193

Closed jboix closed 6 months ago

jboix commented 6 months ago

Description

Resolves #182 by converting the Pillarbox class into a function.

This changes enhances the developper experience by providing the same interface that they are used to in video.js,

github-actions[bot] commented 6 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements
98.39% (+0% πŸ”Ό)
490/498
🟒 Branches 93.44% 228/244
🟒 Functions 100% 135/135
🟒 Lines
99.16% (+0% πŸ”Ό)
474/478

Test suite run success

152 tests passing in 9 suites.

Report generated by πŸ§ͺjest coverage report action from 309bda1abb698c93335369fda885c7acb3ee5af6

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 1.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: