You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I set the global variable state to the redux store in
`client/src/index.js`. Hence the current diagram can be accessed via
`store.getState().diagram.diagram`.
On Wed, 5 Sep 2018 at 15:00, jamievicary ***@***.***> wrote:
Lukas, is there a global variable set to equal the current main diagram,
or some alternative easy way to access the current diagram in the console?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAV1JfMvWZ3Ny06XrmCoWBgBCzmnZX5Xks5uX8rfgaJpZM4Wa23I>
.
This is a bit long-winded. Is there some way to set for example the global function d() to return this. I can't see how to set global variables due to the way everything is bundled up by the transpiler.
Lukas, is there a global variable set to equal the current main diagram, or some alternative easy way to access the current diagram in the console?
The text was updated successfully, but these errors were encountered: