8000 Fix missing 'this' for property access in wasm bindings by dsafa · Pull Request #914 · elalish/manifold · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix missing 'this' for property access in wasm bindings #914

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 2 commits into from
Sep 5, 2024

Conversation

dsafa
Copy link
Contributor
@dsafa dsafa commented Sep 4, 2024

The js bindings throw numProp is not defined when trying to use Mesh.position() or Mesh.extras(). They were just missing a this

Copy link
google-cla bot commented Sep 4, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.76%. Comparing base (d437097) to head (5da706d).
Report is 85 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #914      +/-   ##
==========================================
- Coverage   91.84%   89.76%   -2.08%     
==========================================
  Files          37       66      +29     
  Lines        4976     9813    +4837     
  Branches        0     1055    +1055     
==========================================
+ Hits         4570     8809    +4239     
- Misses        406     1004     +598     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dsafa
Copy link
Contributor Author
dsafa commented Sep 4, 2024

hmm running format.sh is not doing anything :/

Copy link
Owner
@elalish elalish left a comment

Choose a reason for hiding this comment

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

Thanks! I generally just run clang-format inside of VSCode. If all else fails you can just copy the corrected lines from the CI's format checker and paste them in place.

@dsafa
Copy link
Contributor Author
dsafa commented Sep 5, 2024

Thanks, that works. fixed.

I took a look and bash needs globstar option set for ** to work it seems. So I enabled it but then node_modules starts matching the pattern and I'm not familiar enough to know the best way to ignore that so I'll just leave this for anyone else if they encounter the same thing and want to fix it

Copy link
Owner
@elalish elalish left a comment

Choose a reason for hiding this comment

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

Thanks!

@elalish elalish merged commit e9c065b into elalish:master Sep 5, 2024
22 checks passed
@dsafa dsafa deleted the fix-this-wasm-b 6F95 indings branch September 10, 2024 22:24
@elalish elalish mentioned this pull request Nov 5, 2024
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
0