Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before, each time I returned to the Factorio Calc, I had to re-enter all of my settings.
Now, when I return to the Factorio Calc, I can continue where I left off.
Demo: https://odegroot.github.io/factorio-calc/
Note
I also reformatted a file, for improved readability. This makes it look like I gave it a complete overhaul, when in fact nothing changed.
To view a diff with all of these whitespace changes hidden, add
?w=1
to the URL.https://github.com/rubyruy/factorio-calc/pull/49/files?w=1
See also
#16 Preserve search state and form settings in URL so it can be shared
This PR does preserve settings, but not in the URL so it does not enable sending a link to someone, so this PR does not resolve that issue.