Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Brackets core has 8 instances of $.click() #8466

@le717

Description

@le717

I have been watching some of the code review processes, and I've noticed anytime $.click() is used, there is a request to change it to $.trigger("click"). I checked the coding conventions for mention of this, but it seems to be a convention by precedent (or necessity) rather than by rule. To that end, I looked up all instances of $.click() in Brackets core (as of 7af961c), as can be seen in the image below.

8-dot-click
(Third-party code with instances have been collapsed.)

To conform to the aforementioned convention, shouldn't these be converted to $.trigger("click")?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions