mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Backbone definitions fixes
This commit is contained in:
1 parent
418cb20bf0
commit
0073b1025f
1 file changed
+3
-3
Vendored
+3
-3
@@ -32,7 +32,7 @@ declare module Backbone {
|
||||
|
||||
bind(ev: string, f: Function, ctx?: any): void; /// ????
|
||||
|
||||
// defaults; defaults();
|
||||
defaults; // or defaults();
|
||||
toJSON(): string;
|
||||
fetch(options? );
|
||||
save(attributes? , options? ): void;
|
||||
@@ -40,7 +40,7 @@ declare module Backbone {
|
||||
validate(attributes);
|
||||
isValid();
|
||||
url();
|
||||
urlRoot();
|
||||
urlRoot; // or urlRoot()
|
||||
parse(response);
|
||||
clone();
|
||||
isNew();
|
||||
@@ -125,7 +125,7 @@ declare module Backbone {
|
||||
sort(options? );
|
||||
pluck(attribute);
|
||||
where(attributes);
|
||||
url();
|
||||
url; // or url()
|
||||
parse(response);
|
||||
fetch(options?: any): void;
|
||||
reset(models, options? );
|
||||
|
||||
Reference in new issue
Block a user