Added options parameter to Backbone.Model.set()

This commit is contained in:
Omid K. Rad
2013-02-22 10:16:44 -08:00
parent 7d1f71d700
commit b403d81779
+3 -3
View File
@@ -68,9 +68,9 @@ declare module Backbone {
constructor (attributes?: any, options?: any);
initialize(attributes?: any);
get(attributeName: string): any;
set(attributeName: string, value: any);
set(obj: any);
get(attributeName: string): any;
set(attributeName: string, value: any, options?: Silenceable);
set(obj: any, options?: Silenceable);
change();
changedAttributes(attributes?: any): any[];