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
Thank you for this awesome node module! I am most interested in using this as a tool for undo/redo. I'm implementing it in an Electron app that uses Greensock's animation platform - GSAP. In an effort to be able to undo/redo as well as have all the data necessary to save files for later use, I've had to utilize Circular JSON es6 to save the data from the timeline to JSON. I noticed in your code that the available types for a collection automatically attempt to convert to JSON...
I can't store the timelines using this because it would create a Circular issue. So, I'm using circular-json-es6 to convert to JSON safely and then want to store that. Are there any plans to add a blob type?
Thanks again!
The text was updated successfully, but these errors were encountered:
I just released 0.3.1 which includes the blob type you requested. Keep in mind a major reason I had the JSON.parse and JSON.stringify in place was to break deep references inside objects, otherwise things like the history might not work if your past 3 history points are accidentally referencing the same internal object.
So just make sure that you're breaking any references between the objects when you do an upsert to keep the history working correctly. You might find it easier to just work with the existing Map type in the end.
Thank you for this awesome node module! I am most interested in using this as a tool for undo/redo. I'm implementing it in an Electron app that uses Greensock's animation platform - GSAP. In an effort to be able to undo/redo as well as have all the data necessary to save files for later use, I've had to utilize Circular JSON es6 to save the data from the timeline to JSON. I noticed in your code that the available types for a collection automatically attempt to convert to JSON...
I can't store the timelines using this because it would create a Circular issue. So, I'm using circular-json-es6 to convert to JSON safely and then want to store that. Are there any plans to add a blob type?
Thanks again!
The text was updated successfully, but these errors were encountered: