Skip to content

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

Open
nick4598 wants to merge 8 commits into
mainfrom
nick/fixdocs
Open

Add the example code-snippet from itwinjs-core to this repo instead#228
nick4598 wants to merge 8 commits into
mainfrom
nick/fixdocs

Conversation

@nick4598

@nick4598 nick4598 commented Jan 7, 2025

Copy link
Copy Markdown
Contributor

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 {

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor 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)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

On line 74 - that method has moved to transformer, so you need The [IModelCloneContext]($transformer) to get the docs build passing

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.

4 participants