documentary
Advanced tools
Comparing version 1.34.6 to 1.34.7
@@ -132,6 +132,9 @@ const { h } = require('preact'); | ||
}) : de | ||
let hasCodes | ||
if (prop.examples.length) { | ||
desc += `\n${makeExamples(prop.examples)}` | ||
hasCodes = true | ||
} else { | ||
hasCodes = new RegExp(codeRe.source, codeRe.flags).test(prop.args ? desc : prop.description) | ||
} | ||
const hasCodes = new RegExp(codeRe.source, codeRe.flags).test(prop.args ? desc : prop.description) | ||
desc = desc + '\n ' | ||
@@ -138,0 +141,0 @@ if (hasCodes) desc = '\n\n' + desc |
@@ -0,1 +1,7 @@ | ||
## 18 December 2019 | ||
### [1.34.7](https://github.com/artdecocode/documentary/compare/v1.34.6...v1.34.7) | ||
- [fix] Fix examples for properties. | ||
## 17 December 2019 | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "documentary", | ||
"version": "1.34.6", | ||
"version": "1.34.7", | ||
"description": "Documentation Compiler To Generate The Table Of Contents, Embed Examples With Their Output, Make Markdown Tables, Maintain Typedefs For JavaScript And README, Watch Changes To Push, Use Macros And Prettify API Titles.", | ||
@@ -121,4 +121,4 @@ "main": "build", | ||
"preact": "8.5.3", | ||
"typal": "^1.24.2" | ||
"typal": "^1.24.7" | ||
} | ||
} |
448944
4731
Updatedtypal@^1.24.7