eliias / grunt-docco

Uses docco to generate nice HTML docs out of your annotated source.
MIT License
4 stars 5 forks source link

Cannot read property 'javascript' of undefined #6

Closed tjamesking closed 10 years ago

tjamesking commented 10 years ago

This fatal error is currently happening due to a docco issue with the latest update to highlight.js. Updating this plugin's docco-dev dependency to point at the current master commit appears to resolve the problem.

eliias commented 10 years ago

Can you provide a commit hash that is working for you?

tjamesking commented 10 years ago

jashkenas/docco.git#d6a7f7dc941232bcbbb4b7dd0feb70ca735f9fab seems to fix the issue I was having (docco task crashing during "grunt test" of the dc.js repository).

gordonwoodhull commented 10 years ago

Had the same problem, manually updating to latest docco (d6a7f7) fixed it for me.

(edit: of course, this is just the same test case as @tjamesking)

gordonwoodhull commented 10 years ago

Thanks!

gordonwoodhull commented 10 years ago

Um, it looks like there was already a release 0.1.5 back in September, so this one didn't take. Would you be willing to bump the version number again? Thanks again, looking forward to deleting my fork.

eliias commented 10 years ago

@gordonwoodhull I have rewritten the whole thingy and released it under 0.2.0. Any feedback appreciated.

gordonwoodhull commented 10 years ago

Looks like you are missing some curly brackets in the first example on the main page files: [expand:. Once I got past that, my upgrade was pretty uneventful. Thanks!