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

Update WASMbindgenAsset.js #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

felixrabe
Copy link

No description provided.

@xtuc
Copy link
Member

xtuc commented Jul 13, 2020

Do we have tests for that change? I have some troubles udnerstanding what it actually changes

@felixrabe
Copy link
Author

Fixign a typo, isTragetRust -> isTargetRust

@@ -169,7 +169,7 @@ class WASMbindgenAsset extends Asset {

const exported_classes = []
js_content = js_content.replace(/export\ class\ \w+/g, x => {
const name = x.slice(12)
const name = x.slice(13)
Copy link
Member

Choose a reason for hiding this comment

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

@felixrabe why do you need to change here?

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