From 275efa061a3db4b2acb06b902a114f58f04becd1 Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Sun, 29 Sep 2013 11:34:17 +0200 Subject: [PATCH] Property 'length' is not a variable. --- plugin/markdown/markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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
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 += '
'; sectionStack[i].forEach( function( child ) { -- 2.26.2