Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Remove jQuery logic branching #777

@akre54

Description

@akre54

@molily @paulmillr @mehcode Backbone#3003 is about to land in master, bringing with it a new delegate method on View, which will allow us to get rid of some of the jQuery logic branching. Is there anything else you think needs to get added to Backbone to help Chaplin reduce some code around its jQuery dependency?

I think we should always operate with native DOM methods on on the view's el property unless the jQuery method is significantly better in older browsers and rewriting code to target the older browsers would be too much of a pain.

Also, do we need an undelegate method? Layout uses it for click handling. If we do, how many of jQuery's features do we need to support as a baseline here?

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