Skip to content

Remove FluentType.isTypeOf #108

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

Merged
merged 1 commit into from
Dec 12, 2017
Merged

Conversation

stasm
Copy link
Contributor

@stasm stasm commented Dec 12, 2017

fluent-react's markup overlays (#101) removed the dependency on fluent's FluentType which was hardcoded as an import from fluent/compat. Without this dependency all imports from fluent are in the hands of developers again and they can decide to use the ES2015+ or the compat builds as they wish. As long as they do it consistently, regular instanceof checks will work well.

fluent-react's markup overlays (projectfluent#101) removed the dependency on fluent's
FluentType which was hardcoded as an import from fluent/compat. Without
this dependency all imports from fluent are in the hands of developers
again and they can decide to use the ES2015+ or the compat builds as
they wish. As long as they do it consistently, regular instanceof checks
will work well.
@stasm stasm requested a review from zbraniecki December 12, 2017 19:33
@stasm stasm merged commit f722d99 into projectfluent:master Dec 12, 2017
@stasm stasm deleted the remove-isTypeOf branch December 12, 2017 19:40
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