openblocks-dev/openblocks

Global Variable Sharing

sonuame opened this issue · 0 comments

Sometimes I had to define global variables like this
window.messages = []
And 2 raw javascript queries were able to access the realtime values.

But in latest version, its not working anymore.
Is there a way to define global variables which are accessible across different javascript queries?

My whole setup got broken after the update. So now I had to use window.localStorage to get persistence