Skip to content

Conversation

@Orasund
Copy link
Contributor

@Orasund Orasund commented Jul 7, 2024

Background:

I want to write a p5.js Wrapper using the JSDocs for type definitions. I'm using jsdoc-to-markdown to parse the files. However, this only works if the files contain valid JsDoc annotations.

Changes:

  • src/color/p5.Color.js - removed duplicated @example annotation
  • src/math/random.js - removed empty @example annotation
  • src/webgl/material.js - removed additional ]
  • src/webgl/p5.Quat.js - removed empty @returns annotation
  • src/webgl/p5.RendererGL.Immediate.js - replaced Array[Number] with Number[]

PR Checklist

  • npm run lint passes
  • [Inline documentation] is included / updated
  • [Unit tests] are included / updated

@welcome
Copy link

welcome bot commented Jul 7, 2024

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

@limzykenneth
Copy link
Member

Hi @Orasund, thanks. There are several formatting related changes (mostly added spaces) in this PR that is not related to the stated issue, can you please revert them?

@Orasund
Copy link
Contributor Author

Orasund commented Jul 8, 2024

@limzykenneth Formating changes have been reverted

@limzykenneth limzykenneth merged commit 256afc3 into processing:main Jul 9, 2024
@limzykenneth
Copy link
Member

Looks good. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants