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

Add page URLs #25

Closed
wants to merge 2 commits into from
Closed

Add page URLs #25

wants to merge 2 commits into from

Conversation

markprzepiora
Copy link
Contributor

This PR adds a hash-URL to each page, which is updated upon each page switch. The proper page is then recalled upon a browser refresh. This allows the user, for example, to navigate away from the presentation and then return to the slide he was looking at.

@jdan
Copy link
Owner

jdan commented Aug 31, 2013

Thanks, this is awesome. Should pages be 0-indexed or 1-indexed? +1 for not destroying the functionality of the back button, too, I thought that was unavoidable.

Also, as a note, you can always amend the previous comment git commit --amend and then (if necessary) a force-push to your remote branch. The PR will automatically update.

@markprzepiora
Copy link
Contributor Author

0-indexed seems appropriate given the project description.

30-second Slideshows for Hackers

;)

And yeah, I just learned that about PRs... I feel silly now. Nice to know for the future though!

@jdan
Copy link
Owner

jdan commented Aug 31, 2013

87addf7 Thanks! 🏁

@jdan jdan closed this Aug 31, 2013
@jdan jdan mentioned this pull request Sep 1, 2013
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