aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorLars Kappert <lars@webpro.nl>2013-09-29 11:34:17 +0200
committerLars Kappert <lars@webpro.nl>2013-09-29 11:34:17 +0200
commit275efa061a3db4b2acb06b902a114f58f04becd1 (patch)
tree1584833baa4f79e71a1e2337297a1b53f418fe3a /plugin
parent9cf7de54b8fb6bdad1342d087adfeea94604a674 (diff)
downloadfosdem-2018-presentation-275efa061a3db4b2acb06b902a114f58f04becd1.tar
fosdem-2018-presentation-275efa061a3db4b2acb06b902a114f58f04becd1.tar.gz
Property 'length' is not a variable.
Diffstat (limited to 'plugin')
-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 ) {