Bring multiplex up to date

This commit is contained in:
David Banham
2013-03-08 11:51:58 +11:00
parent 61c229a4f9
commit 580a72c444
9 changed files with 31 additions and 925 deletions

View File

@ -160,6 +160,9 @@ var Reveal = (function(){
// Copy options over to our config object
extend( config, options );
// Push up globals
window.globals = config.globals
// Hide the address bar in mobile browsers
hideAddressBar();
@ -1002,8 +1005,9 @@ var Reveal = (function(){
* @param {int} v Vertical index of the target slide
* @param {int} f Optional index of a fragment within the
* target slide to activate
* @param {int} o Optional origin for use in multimaster environments
*/
function slide( h, v, f ) {
function slide( h, v, f, o ) {
// Remember where we were at before
previousSlide = currentSlide;
@ -1098,7 +1102,8 @@ var Reveal = (function(){
'indexh': indexh,
'indexv': indexv,
'previousSlide': previousSlide,
'currentSlide': currentSlide
'currentSlide': currentSlide,
'origin': o
} );
}
else {

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long