merge in multiplex (#98)

This commit is contained in:
Hakim El Hattab
2013-03-08 18:49:28 -05:00
9 changed files with 241 additions and 10 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();
@ -1019,8 +1022,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;
@ -1115,7 +1119,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