Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
opengisch committed Apr 19, 2024
1 parent 7747d18 commit fd0f4fd
Show file tree
Hide file tree
Showing 84 changed files with 238 additions and 175 deletions.
6 changes: 3 additions & 3 deletions talk-interlis-presentation/dist/reveal.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions talk-interlis-presentation/dist/reveal.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion talk-interlis-presentation/dist/reveal.esm.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions talk-interlis-presentation/dist/reveal.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion talk-interlis-presentation/dist/reveal.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion talk-interlis-presentation/plugin/math/math.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion talk-interlis-presentation/plugin/math/math.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions talk-interlis-presentation/plugin/math/mathjax3.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const MathJax3 = () => {
ready: () => {
MathJax.startup.defaultReady();
MathJax.startup.promise.then(() => {
Reveal.layout();
deck.layout();
});
}
}
Expand Down Expand Up @@ -66,7 +66,7 @@ export const MathJax3 = () => {

loadScript( url, function() {
// Reprocess equations in slides when they turn visible
Reveal.addEventListener( 'slidechanged', function( event ) {
deck.addEventListener( 'slidechanged', function( event ) {
MathJax.typeset();
} );
} );
Expand Down
2 changes: 1 addition & 1 deletion talk-interlis-presentation/plugin/notes/notes.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion talk-interlis-presentation/plugin/notes/notes.js

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions talk-interlis-presentation/plugin/notes/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,16 @@ const Plugin = () => {
// (added 12/5/22 as a XSS safeguard)
if( isSameOriginEvent( event ) ) {

let data = JSON.parse( event.data );
if( data && data.namespace === 'reveal-notes' && data.type === 'connected' ) {
clearInterval( connectInterval );
onConnected();
}
else if( data && data.namespace === 'reveal-notes' && data.type === 'call' ) {
callRevealApi( data.methodName, data.arguments, data.callId );
}
try {
let data = JSON.parse( event.data );
if( data && data.namespace === 'reveal-notes' && data.type === 'connected' ) {
clearInterval( connectInterval );
onConnected();
}
else if( data && data.namespace === 'reveal-notes' && data.type === 'call' ) {
callRevealApi( data.methodName, data.arguments, data.callId );
}
} catch (e) {}

}

Expand Down
7 changes: 7 additions & 0 deletions talk-interlis-presentation/plugin/notes/speaker-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,13 @@ <h4 class="label">Notes</h4>

window.addEventListener( 'message', function( event ) {

// Validate the origin of all messages to avoid parsing messages
// that aren't meant for us. Ignore when running off file:// so
// that the speaker view continues to work without a web server.
if( window.location.origin !== event.origin && window.location.origin !== 'file://' ) {
return
}

clearTimeout( connectionTimeout );
connectionStatus.style.display = 'none';

Expand Down
6 changes: 3 additions & 3 deletions talk-modelbaker-pitch/dist/reveal.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions talk-modelbaker-pitch/dist/reveal.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion talk-modelbaker-pitch/dist/reveal.esm.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions talk-modelbaker-pitch/dist/reveal.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion talk-modelbaker-pitch/dist/reveal.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion talk-modelbaker-pitch/plugin/math/math.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fd0f4fd

Please sign in to comment.