mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-07-31 03:40:28 +02:00
Allow popup window access to Reveal API
This commit is contained in:
@@ -21,6 +21,9 @@ var RevealNotes = (function() {
|
|||||||
|
|
||||||
var notesPopup = window.open( notesFilePath, 'reveal.js - Notes', 'width=1100,height=700' );
|
var notesPopup = window.open( notesFilePath, 'reveal.js - Notes', 'width=1100,height=700' );
|
||||||
|
|
||||||
|
// Allow popup window access to Reveal API
|
||||||
|
notesPopup.Reveal = this.Reveal;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connect to the notes window through a postmessage handshake.
|
* Connect to the notes window through a postmessage handshake.
|
||||||
* Using postmessage enables us to work in situations where the
|
* Using postmessage enables us to work in situations where the
|
||||||
|
Reference in New Issue
Block a user