Skip to content

Conflicting hyperlinks with native javascript class name #563

Description

@lpatiny

We have a library that manipulates images and in the library scope we have a class that is named 'Image'.

However while the class is defined and correctly annotated as class by documentation.js, when a method returns an instance of this class 'Image' there is an hyperlink to the mozilla documentation for Image :

https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image

You may check for example (just open the add method)

https://image-js.github.io/core/#Image#add

It would seem logical that if some class are defined in the code they supersede any native class like 'Image'.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions