开发者

How does github keep a loaded page while changing URLs?

https://github.com/ether/pad/tree/master/etherpad

If you cli开发者_运维知识库ck on that, then go to "bin", the URL changes, but the page doesn't reload.. how is this possible? It's not #'d!


It is some new html5 candy: history api. Also, here is an article where the github team explains the full implementation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜