summaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab2013-10-27 15:27:35 -0400
committerHakim El Hattab2013-10-27 15:27:35 -0400
commit806a2f53fcbc65a80f73a38b856b041701a71cf9 (patch)
treec92845ecab6ecfeeb637d90af74f9a439b8fbea0 /js/reveal.js
parentd66fe964bc03c000da48dce0c2314936ef492fae (diff)
build latest js, format tweaks
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 7bc84de..1c1f84e 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -2019,13 +2019,13 @@ var Reveal = (function(){
// iframe embeds
toArray( slide.querySelectorAll( 'iframe' ) ).forEach( function( el ) {
- el.contentWindow.postMessage('slide:start', '*');
+ el.contentWindow.postMessage( 'slide:start', '*' );
});
// YouTube embeds
toArray( slide.querySelectorAll( 'iframe[src*="youtube.com/embed/"]' ) ).forEach( function( el ) {
if( el.hasAttribute( 'data-autoplay' ) ) {
- el.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}', '*');
+ el.contentWindow.postMessage( '{"event":"command","func":"playVideo","args":""}', '*' );
}
});
}
@@ -2048,13 +2048,13 @@ var Reveal = (function(){
// iframe embeds
toArray( slide.querySelectorAll( 'iframe' ) ).forEach( function( el ) {
- el.contentWindow.postMessage('slide:stop', '*');
+ el.contentWindow.postMessage( 'slide:stop', '*' );
});
// YouTube embeds
toArray( slide.querySelectorAll( 'iframe[src*="youtube.com/embed/"]' ) ).forEach( function( el ) {
if( !el.hasAttribute( 'data-ignore' ) && typeof el.contentWindow.postMessage === 'function' ) {
- el.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
+ el.contentWindow.postMessage( '{"event":"command","func":"pauseVideo","args":""}', '*' );
}
});
}