Open iamnoah opened 12 years ago
$('.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."
$('.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."