From 8e48bd21b016b0b51d4279479b114ad044273737 Mon Sep 17 00:00:00 2001 From: Jono Warren Date: Mon, 3 Sep 2012 09:32:31 +0100 Subject: [PATCH 1/2] Fix Socket.IO URL --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 81d0b7e7..89db0912 100644 --- a/index.html +++ b/index.html @@ -319,7 +319,7 @@ function linkify( selector ) { { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } }, { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, - { src: 'socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, + { src: '/socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, ] }); From abede2c2f0f6524a0ca28453e584af5660981e55 Mon Sep 17 00:00:00 2001 From: Jono Warren Date: Mon, 3 Sep 2012 09:54:43 +0100 Subject: [PATCH 2/2] Update Socket.IO URL in readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e3f0e667..6ecc0195 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ Reveal.initialize({ { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, // Speaker notes support { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, - { src: 'socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, + { src: '/socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, ] }); ```