Merge pull request #768 from nvivo/backbone_model_default

Model.default should be a property, as it can be a function or an object.
This commit is contained in:
Diullei Gomes
2013-07-13 17:30:26 -07:00
+1 -1
View File
@@ -93,6 +93,7 @@ declare module Backbone {
attributes: any;
changed: any[];
cid: string;
defaults: any;
id: any;
idAttribute: string;
validationError: any;
@@ -111,7 +112,6 @@ declare module Backbone {
changedAttributes(attributes?: any): any[];
clear(options?: Silenceable);
clone(): Model;
defaults(): any;
destroy(options?: ModelDestroyOptions);
escape(attribute: string);
has(attribute: string): boolean;