Use localstorage to remember Web REPL history #705

Merged
merged 9 commits into from Apr 12, 2012

Conversation

Projects
None yet
2 participants
@adambom
Contributor

adambom commented Apr 12, 2012

This is in re: Issue #579: web interface: add possibility to save/restore session?

For capable browsers, your command history will be saved using localstorage. In older browsers, it will degrade gracefully using Modernizr.js so that you just don't get history but it still works.

@adambom

This comment has been minimized.

Show comment Hide comment
@adambom

adambom Apr 12, 2012

Contributor

Added a fallback for old browsers so even IE gets console history

Contributor

adambom commented Apr 12, 2012

Added a fallback for old browsers so even IE gets console history

@StefanKarpinski

This comment has been minimized.

Show comment Hide comment
@StefanKarpinski

StefanKarpinski Apr 12, 2012

Owner

Brilliant. This is why we need people who know how to do browser UI stuff.

Owner

StefanKarpinski commented Apr 12, 2012

Brilliant. This is why we need people who know how to do browser UI stuff.

StefanKarpinski added a commit that referenced this pull request Apr 12, 2012

Merge pull request #705 from adambom/master
Use localstorage to remember Web REPL history

@StefanKarpinski StefanKarpinski merged commit afc21f7 into JuliaLang:master Apr 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment