Merge branch 'open-notes-in-new-window' of https://github.com/technicalpickles/reveal.js

This commit is contained in:
Hakim El Hattab 2012-09-09 22:14:25 -04:00
commit 884ecc6225
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
var socket = io.connect(window.location.origin);
var socketId = Math.random().toString().slice(2);
console.log('View slide notes at ' + window.location.origin + '/notes/' + socketId);
window.open(window.location.origin + '/notes/' + socketId, 'notes-' + socketId)
Reveal.addEventListener( 'slidechanged', function( event ) {
var nextindexh;