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

Code Bundle #6

Open
ferrari212 opened this issue Feb 19, 2021 · 0 comments
Open

Code Bundle #6

ferrari212 opened this issue Feb 19, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ferrari212
Copy link
Owner

The following piece of code has a reference problem when the code is bundled and it would be nice if a better approach was used allowing whatever type of state to be inserted.

this.resistanceState = this.states.discrete.HullResistance.state

For this accomplishment a primary idea is to use a "for in" loop to verify each key and assign a new object state for each of one. This would allow the bundle change the class name as well, reducing the sizes of the archives and improving the efficiency of the code in the web.

@ferrari212 ferrari212 added the enhancement New feature or request label Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant