Skip to content

Replace TextDecoder polyfill with static instance#698

Merged
autra merged 2 commits intomasterfrom
textdecoder
Mar 27, 2018
Merged

Replace TextDecoder polyfill with static instance#698
autra merged 2 commits intomasterfrom
textdecoder

Conversation

@Jeremy-Gaillard
Copy link
Contributor

Description

This PR replaces #634 and depends on #696.

Replace TextDecoder polyfill with static utf8 decoder instance.

Motivation and Context

Remove the need to pass TextDecoder in function parameters or to instantiate it at each use.

…ance

Avoid instanciating TextDecoders or having to pass them by parameter
Copy link
Contributor

@autra autra left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@autra autra merged commit c02545b into master Mar 27, 2018
@autra autra deleted the textdecoder branch March 27, 2018 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants