Skip to content

Including jQuery AFTER rivets breaks rv-value binder #725

@dnasir

Description

@dnasir

This is most likely due to rivets assigning the jQuery object to a local variable during its initialisation phase. This bug can be demonstrated here:

http://embed.plnkr.co/dlHcGbS9kq8uCjGjdYKR/

A simple fix would be to use window.jQuery instead of the local variable, as demonstrated here:

http://embed.plnkr.co/xDiwQh/

I am personally in favour of removing dependency on jQuery altogether, and letting the consumers override existing binders themselves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions