From 749437f384660f1089d27f5f274f1853dc470912 Mon Sep 17 00:00:00 2001 From: Trevor Date: Fri, 11 Apr 2014 10:23:58 -0700 Subject: [PATCH] add ajax function to View --- backbone/backbone.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backbone/backbone.d.ts b/backbone/backbone.d.ts index 256554774..bdbcf6e7c 100644 --- a/backbone/backbone.d.ts +++ b/backbone/backbone.d.ts @@ -330,7 +330,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