front-matter-markdown
Advanced tools
Comparing version 0.3.6 to 0.4.0
@@ -68,4 +68,10 @@ (function() { | ||
var compiled, headings, result, toc, vSkipSize; | ||
if (aOptions == null) { | ||
aOptions = {}; | ||
if (isObject(aOptions)) { | ||
aOptions = extend({ | ||
strict: true | ||
}, aOptions); | ||
} else { | ||
aOptions = { | ||
strict: true | ||
}; | ||
} | ||
@@ -72,0 +78,0 @@ result = matter(aContent, aOptions); |
{ | ||
"name": "front-matter-markdown", | ||
"description": "get the config and toc object from the markdown string.", | ||
"version": "0.3.6", | ||
"version": "0.4.0", | ||
"homepage": "https://github.com/snowyu/front-matter-markdown.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
129824
1495