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

Add the example code-snippet from itwinjs-core to this repo instead #228

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nick4598
Copy link
Collaborator

@nick4598 nick4598 commented Jan 7, 2025

No description provided.

@nick4598 nick4598 requested review from a team as code owners January 7, 2025 19:47
@ben-polinsky ben-polinsky self-requested a review January 7, 2025 20:57
});
}

namespace arbitraryEdit {

Choose a reason for hiding this comment

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

Curious as to why this counter is outside of the function, is it expected to be referenced elsewhere?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

My guess is its to achieve a static variable, which I suppose aren't supported in javascript (I.e. just writing static in front of a var within a function)

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