Open
Description
How often can you reproduce it?
- Always
Description:
Package errors out when adding @codepen
tag to inline block documentation.
ERROR:
tag - codepen
line- @codepen
/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/q/q.js:155
throw e;
^
TypeError: Cannot read property 'codepen' of undefined
at Object.add (/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-html-codepen-link/tags.js:11:31)
at module.exports (/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-process-tags/process-tags.js:95:29)
at /Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-js/process/code_and_comment.js:41:4
at module.exports (/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-js/process/code.js:42:2)
at module.exports (/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-js/process/code_and_comment.js:40:3)
at /Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-js/process/javascript.js:26:13
at Array.map (<anonymous>)
at module.exports (/Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/configure/node_modules/bit-docs-js/process/javascript.js:25:29)
at /Users/bitovi/Documents/bitovi/canjs/node_modules/bit-docs/lib/process/file.js:80:17
at Array.some (<anonymous>)
Steps to reproduce:
-
Detail the exact steps taken to produce the problem
Attempted to add@codepen
tag to a can-define/list/list example. Running./node_modules/.bin/bit-docs
causes the error above. -
Include a gif if possible; you can use LICEcap to make a gif: http://www.cockos.com/licecap/
Expected results:
Successfully ink to codepen and generate documentation properly.
Environment:
Software | Version |
---|---|
bit-docs-html-codepen-link version | 1.2.1 |
Browser | |
Operating system | Mac 10.13.6 |
Metadata
Metadata
Assignees
Labels
No labels