Model.default should be a property, as it can be a function or an object.

This commit is contained in:
Natan Vivo
2013-07-12 15:30:21 -03:00
parent 17f058521f
commit 752cb09e2c
+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;