Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply TypeScript to Fragment & LevelKey #2107

Merged
merged 12 commits into from Feb 5, 2019
Merged

Apply TypeScript to Fragment & LevelKey #2107

merged 12 commits into from Feb 5, 2019

Conversation

itsjamie
Copy link
Collaborator

@itsjamie itsjamie commented Jan 29, 2019

This PR will...

Update the Fragment and LevelKey value classes to TypeScript.

Why is this Pull Request needed?

Part of the effort to convert the internals of hls.js to Typescript.

Are there any points in the code the reviewer needs to double check?

Resolves issues:

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@itsjamie
Copy link
Collaborator Author

@tjenkinson another one up for ya to review :)

Copy link
Member

@tjenkinson tjenkinson left a comment

Choose a reason for hiding this comment

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

Nice

src/loader/fragment.ts Outdated Show resolved Hide resolved
src/loader/fragment.ts Outdated Show resolved Hide resolved
src/loader/fragment.ts Show resolved Hide resolved
src/loader/fragment.ts Outdated Show resolved Hide resolved
src/loader/fragment.ts Outdated Show resolved Hide resolved
src/loader/level-key.ts Outdated Show resolved Hide resolved
tjenkinson and others added 4 commits January 29, 2019 17:31
Co-Authored-By: itsjamie <1956521+itsjamie@users.noreply.github.com>
parseByteRange -> setByteRange
- removed it returning the parsed value since its usage was like a setter.
src/loader/fragment.ts Outdated Show resolved Hide resolved
src/loader/fragment.ts Outdated Show resolved Hide resolved
src/loader/fragment.ts Outdated Show resolved Hide resolved
@itsjamie
Copy link
Collaborator Author

Link #2070

src/loader/fragment.ts Outdated Show resolved Hide resolved
src/loader/fragment.ts Outdated Show resolved Hide resolved
@tjenkinson
Copy link
Member

Just waiting for travis to go green and then I think this is good to go 🎉

Copy link
Member

@michaelcunningham19 michaelcunningham19 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@michaelcunningham19 michaelcunningham19 merged commit 2bd34b8 into video-dev:master Feb 5, 2019
@itsjamie itsjamie deleted the fragment-typescript branch February 5, 2019 17:32
@johnBartos johnBartos added this to In progress in Typescript Integration via automation Aug 13, 2019
@johnBartos johnBartos added this to the 0.13.0 milestone Aug 13, 2019
@itsjamie itsjamie moved this from In progress to Reviewer approved in Typescript Integration Aug 28, 2019
@itsjamie itsjamie moved this from Reviewer approved to Done in Typescript Integration Aug 28, 2019
@robwalch robwalch added this to Done in 0.13.0 Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
0.13.0
  
Done
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants