-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix compatibility, browser launcher detection in shaka-player (#29)
This makes these launchers compatible with the older launchers we replaced, by defining DEFAULT_CMD and ENV_CMD on prototype. This allows the detection of available browser launchers in shaka-player work again. To do this, this change abstracts away several things that were previously set in the constructor so that they are now set at the class-definition level. A new function called generateSubclass handles all of these details before any instances are constructed. Closes #23
- Loading branch information
1 parent
0c3ebe6
commit 9783318
Showing
1 changed file
with
102 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters