- From: poot <cvsmail@w3.org>
- Date: Thu, 26 Aug 2010 11:02:55 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: fix pushState() example (whatwg r5355)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4271&r2=1.4272&f=h
http://html5.org/tools/web-apps-tracker?from=5354&to=5355
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4271
retrieving revision 1.4272
diff -u -d -r1.4271 -r1.4272
--- Overview.html 26 Aug 2010 01:50:19 -0000 1.4271
+++ Overview.html 26 Aug 2010 01:56:58 -0000 1.4272
@@ -42802,8 +42802,8 @@
<script>
var currentPage = 5; // prefilled by server
function go(d) {
- history.pushState(currentPage, 'Line Game - ' + currentPage, '?x=' + currentPage);
setupPage(currentPage + d);
+ history.pushState(currentPage, document.title, '?x=' + currentPage);
}
onpopstate = function(event) {
setupPage(event.state);
Received on Thursday, 26 August 2010 01:57:42 UTC