mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #2026 from ttrevorr/update-backbone.d.ts
Update backbone.d.ts
This commit is contained in:
commit
f9b02e6f6f
1 file changed
+6
-3
Vendored
+6
-3
@@ -171,7 +171,8 @@ declare module Backbone {
|
||||
remove(models: Model[], options?: Silenceable): Model[];
|
||||
reset(models?: Model[], options?: Silenceable): Model[];
|
||||
reset(models?: any[], options?: Silenceable): Model[];
|
||||
shift(options?: Silenceable): Model;
|
||||
set(models?: any[], options?: Silenceable): Model[];
|
||||
shift(options?: Silenceable): Model;
|
||||
sort(options?: Silenceable): Collection;
|
||||
unshift(model: Model, options?: AddOptions): Model;
|
||||
where(properies: any): Model[];
|
||||
@@ -278,7 +279,8 @@ declare module Backbone {
|
||||
loadUrl(fragmentOverride: string): boolean;
|
||||
navigate(fragment: string, options?: any): boolean;
|
||||
started: boolean;
|
||||
|
||||
options: any;
|
||||
|
||||
_updateHash(location: Location, fragment: string, replace: boolean): void;
|
||||
}
|
||||
|
||||
@@ -330,7 +332,8 @@ declare module Backbone {
|
||||
|
||||
// SYNC
|
||||
function sync(method: string, model: Model, options?: JQueryAjaxSettings): any;
|
||||
var emulateHTTP: boolean;
|
||||
function ajax(options?: JQueryAjaxSettings): JQueryXHR;
|
||||
var emulateHTTP: boolean;
|
||||
var emulateJSONBackbone: boolean;
|
||||
|
||||
// Utility
|
||||
|
||||
Reference in new issue
Block a user