merge mutiplex fragment fix #395

This commit is contained in:
Hakim El Hattab
2013-04-11 09:17:12 -04:00
4 changed files with 53 additions and 24 deletions

View File

@ -2050,6 +2050,17 @@ var Reveal = (function(){
return config;
},
// Returns an index (1-based) of the current fragment
getCurrentFragmentIndex : function() {
if( currentSlide ) {
var visibleFragments = currentSlide.querySelectorAll( '.fragment.visible' );
if( visibleFragments.length ) {
return visibleFragments.length;
}
}
},
// Helper method, retrieves query string as a key/value hash
getQueryHash: function() {
var query = {};

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long