aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-10-11 21:51:57 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-10-11 21:51:57 -0400
commit8f3b14193e0b4c866f57fb13ea3305ca1b1440eb (patch)
tree9a1743edb143de3e53a37d15973e158e9271800d
parent421e52d6fbbdde8c56afe16824d2a74f0eb8de88 (diff)
parent275efa061a3db4b2acb06b902a114f58f04becd1 (diff)
downloadperl-software-in-gnu-guix-8f3b14193e0b4c866f57fb13ea3305ca1b1440eb.tar
perl-software-in-gnu-guix-8f3b14193e0b4c866f57fb13ea3305ca1b1440eb.tar.gz
Merge branch 'patch-1' of https://github.com/webpro/reveal.js into dev
-rwxr-xr-xplugin/markdown/markdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js
index 42c847f..4cf0cc5 100755
--- a/plugin/markdown/markdown.js
+++ b/plugin/markdown/markdown.js
@@ -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 ) {