Skip to content

Assert targets at runtime #16

Open

Description

@koddsson

We need a way to assert that the target exists in the HTML at runtime.

Activity

  1. Scipion commented on Dec 28, 2020

    @Scipion
    Contributor

    Something like throwing a ReferenceError when findTarget returns undefiend (and findTargets returns empty Array) would do the work. I've checked that there is not throw Error in the whole project, so I assume it's not the desired solution.

    I know it's an old issue, but there is any code style definition about how to implement it?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions