Skip to content
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

Clean up save to json, improve JSONWriter #105

Merged
merged 2 commits into from
Mar 16, 2021

Conversation

pihart
Copy link
Collaborator

@pihart pihart commented Dec 14, 2020

  • Move file downloading procedure from Pages > safeFile() to JSONWriter > download()
  • Improve caching in JSONWriter

in addition to stringified

Don't generate new object url and waste memory if it hasn't yet been revoked.

Slight difference in behavior: the revoke function outputted from toURL is always the same thing. it revokes whatever the current url is; not the url that was outputted with the revoke function.
@pihart pihart changed the title Clean up save to json Clean up save to json, improve JSONWriter Dec 14, 2020
@pihart
Copy link
Collaborator Author

pihart commented Dec 14, 2020

so apparently i already did some of this in #94

@cjquines cjquines merged commit 77f08f1 into cjquines:master Mar 16, 2021
@pihart pihart deleted the refactor-download branch March 16, 2021 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants