-
-
Notifications
You must be signed in to change notification settings - Fork 575
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
import_view() - getting VE.Top is not defined error #393
Comments
The problem is that export_view data is not suitable to JSON.stringify because it have interpreter Stack Structure with functions, so if you export view with nested interpreter you will get the same interpreter. I can make it ignore interpreters if it's not Stack object. |
Also lines have finalize functions but they will just be ignored by JSON.stringify |
Saving data without JSON.stingify in sessionStorage and wihtout JSON.parse to read is resulting in another JS Error Ae.Push is not a function. How can i save these data and reload them on a page refresh? |
can i just echo out the data exported by export_view()? Just want to reload just all stuff happened before. |
In devel branch you now can restore view from JSON but you will not get restored:
|
Expected behavior
On window.beforeUnload i save all data in the SessionStorage with export_view(). If i import then on page reload all data is shown correctly with the import_view() method. But when i want to use the terminal i am getting an JS Error VE.Top is not defined?
what did i missed?
This is my Code where i initialize the terminal:
`
`
The text was updated successfully, but these errors were encountered: