Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Surprisingly funny. :) I wish the url changed so one could link someone. Solved now, but it should be added.


Just changed it so you can specify user/repo in hashtag: http://starlogs.net/#rails/rails


Nice, but please consider switching to HTML5 history (pushState). It's just as easy and a lot cleaner. Especially that you can use popstate to let people switch the URL.

It's amazing anyway.


If he were to use pushState for this, wouldn't he need a .htaccess (or other means) to point all requests to index.html? Meaning it's not just as easy?


Yes, it is a bit more config on the server. The site can still be a FD at JS client though, you just need to make sure all paths link to it.


It's also easy to get broken behaviour (on one site I use the url is updated without a new history entry, and even on GitHub the page sometimes gets desynced).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: