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

- replace conditional import by js with js_interop (wasm compatibility) #719

Closed
wants to merge 1 commit into from

Conversation

alexandrim0
Copy link

No description provided.

@brendan-duncan
Copy link
Owner

I'll take a look at this as soon as I get a chance. I think it could be improved as

export '_file_access_html.dart' if (dart.library.io) '_file_access_io.dart';

to get rid of the js or js_interop check all-together. There are only two variants supported, HTML or IO, so we can get rid of the "stub" nonsense.

@brendan-duncan
Copy link
Owner

I pushed the alternative conditional import so it don't use dart.library.js or dart.library.js_interop. I'll go ahead and close this, but thank you for pointing it out.

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