-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
localStorage access is unguarded #30
Comments
Are you trying to run this dev tool in a headless browser or in node? This tool is not suppose to be shipped into production, but just be a browser based tool for you to edit curves in. So no need to run this when not developing in client side. |
I just thought I would report this issue since this demo doesn't work for me. I can pan the view, but no curve is displayed: My actual use case is a little outside the library's immediate scope, and I expect to fork it to achieve what I want (although the API could be generalized to support this). Rather than doing animation, I want to control a mouse acceleration curve for a head tracking system. So instead of time, the input axis is head speed, and then the output axis is pointer speed. And I could roll my own curve editor but this one looks very nice and polished, and even fits the color scheme of my app :) |
Even with
isSaveState: false
, it gets "DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document" when storage is disabled in the browser settings.All usage of
localStorage
should be wrapped in a try-catch.The text was updated successfully, but these errors were encountered: