Skip to content

Cannot .init with a target jquery element #461

@xori

Description

@xori

In the docs it says I can do

rivets.init('my-app', $('body'), {user: user})

but in reality I need to do

rivets.init('my-app', $('body')[0], {user: user})

rivets.bind still seems to work with jquery elements

http://jsfiddle.net/axz3d57L/2/ test case

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