4 ms·
Just changed it so you can specify user/repo in hashtag: http://starlogs.net/#rails/rails http://starlogs.net/#rails/rails
by artemave 14y ago
Just changed it so you can specify user/repo in hashtag: http://starlogs.net/#rails/rails http://starlogs.net/#rails/rails
- mmahemoff 14y agoNice, 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.
- mcrittenden 14y agoIf 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?
- mmahemoff 14y agoYes, 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.
- Tobu 14y agoIt'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).