diff options
author | Lars Kappert <lars@webpro.nl> | 2013-09-29 11:34:17 +0200 |
---|---|---|
committer | Lars Kappert <lars@webpro.nl> | 2013-09-29 11:34:17 +0200 |
commit | 275efa061a3db4b2acb06b902a114f58f04becd1 (patch) | |
tree | 1584833baa4f79e71a1e2337297a1b53f418fe3a /plugin | |
parent | 9cf7de54b8fb6bdad1342d087adfeea94604a674 (diff) | |
download | fosdem-2018-presentation-275efa061a3db4b2acb06b902a114f58f04becd1.tar fosdem-2018-presentation-275efa061a3db4b2acb06b902a114f58f04becd1.tar.gz |
Property 'length' is not a variable.
Diffstat (limited to 'plugin')
-rwxr-xr-x | plugin/markdown/markdown.js | 2 |
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 ) { |