Model.isValid is now accepts options, see source

This commit is contained in:
Eirik Hoem
2013-12-28 16:06:08 +01:00
parent 0123ffd567
commit 8f06917644
+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;