webdoc-labs / webdoc

Documentation generator for the web
https://www.webdoclabs.com
Other
79 stars 9 forks source link

Bug with prototype assignment #97

Closed bigtimebuddy closed 3 years ago

bigtimebuddy commented 3 years ago

Broken

This version shows up correctly in the docs, but is incorrectly tagged as static. This should be an instance method as indicated by @instance.

/**
 * @instance
 * @method PIXI.Graphics#drawChamferRect
 */

Workaround

Tweaking this slightly produce the correct result.

/**
 * @instance
 * @memberof PIXI.Graphics
 * @method drawChamferRect
 */

Related: https://github.com/pixijs/pixi.js/pull/7256/files