Skip to content

$.fn.model(s) ignores type parameter. #133

@iamnoah

Description

@iamnoah

$('.something').model(MyClass) always returns the first model, regardless of type passed in. This is because $.fn.models ignores the type parameter. The docs say it should "only return models of the provided type."

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