Merge branch 'patch-1' of https://github.com/webpro/reveal.js into dev

This commit is contained in:
Hakim El Hattab 2013-10-11 21:51:57 -04:00
commit 8f3b14193e

View File

@ -171,7 +171,7 @@
// flatten the hierarchical stack, and insert <section data-markdown> tags
for( var i = 0, len = sectionStack.length; i < len; i++ ) {
// vertical
if( sectionStack[i].propertyIsEnumerable( length ) && typeof sectionStack[i].splice === 'function' ) {
if( sectionStack[i].propertyIsEnumerable( 'length' ) && typeof sectionStack[i].splice === 'function' ) {
markdownSections += '<section '+ options.attributes +'>';
sectionStack[i].forEach( function( child ) {