assets/reveal.js/plugin/remotes/remotes.js in slippery-0.3.0 vs assets/reveal.js/plugin/remotes/remotes.js in slippery-0.4.0
- old
+ new
@@ -15,15 +15,15 @@
/**
* Detects if notes are enable and the current page is opened inside an /iframe
* this prevents loading Remotes.io several times
*/
- var remotesAndIsNotes = (function(){
- return !(window.RevealNotes && self == top);
+ var isNotesAndIframe = (function(){
+ return window.RevealNotes && !(self == top);
})();
- if(!hasTouch && !remotesAndIsNotes){
+ if(!hasTouch && !isNotesAndIframe){
head.ready( 'remotes.ne.min.js', function() {
new Remotes("preview")
.on("swipe-left", function(e){ Reveal.right(); })
.on("swipe-right", function(e){ Reveal.left(); })
.on("swipe-up", function(e){ Reveal.down(); })
@@ -32,8 +32,8 @@
.on("zoom-out", function(e){ Reveal.toggleOverview(true); })
.on("zoom-in", function(e){ Reveal.toggleOverview(false); })
;
} );
- head.js('https://raw.github.com/Remotes/Remotes/master/dist/remotes.ne.min.js');
+ head.js('https://hakim-static.s3.amazonaws.com/reveal-js/remotes.ne.min.js');
}
})(window);
\ No newline at end of file