Property 'length' is not a variable.

edit
Lars Kappert 2013-09-29 11:34:17 +02:00
parent 9cf7de54b8
commit 275efa061a
1 changed files with 1 additions and 1 deletions

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 ) {