Merge pull request #1480 from eirikhm/BackboneModelFixes

Backbone: Fixes for Model.isValid
This commit is contained in:
Basarat Ali Syed
2013-12-29 21:54:53 -08:00
+1 -1
View File
@@ -120,7 +120,7 @@ declare module Backbone {
has(attribute: string): boolean;
hasChanged(attribute?: string): boolean;
isNew(): boolean;
isValid(): boolean;
isValid(options?:any): boolean;
previous(attribute: string): any;
previousAttributes(): any[];
save(attributes?: any, options?: ModelSaveOptions): any;