+
Skip to content

Syntax error unclear #326

@treyhunner

Description

@treyhunner

We ran some front-end tests and saw the error:

Syntax error, unrecognized expression: #

We dug for a while looking for a stray # in our code before searching the internet deep enough to realize this was an invalid jQuery selector.

This error message would be more clear if it mentioned "sizzle", "jQuery", "selector", or another string that would make it clear to the user that this is not a JavaScript syntax error, but a sizzle selector expression syntax error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Has a jQuery counterpartIssues that have a related jQuery issue; used to identify issues relevant after Sizzle is archived

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载