From fda5dbc69daeb72cae6c17e2744e703048888519 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Thu, 30 Jul 2015 13:10:09 -0700 Subject: [PATCH] Add 'method' property. --- chocolatechipjs/chocolatechipjs.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chocolatechipjs/chocolatechipjs.d.ts b/chocolatechipjs/chocolatechipjs.d.ts index 269cb6790..d658118a0 100644 --- a/chocolatechipjs/chocolatechipjs.d.ts +++ b/chocolatechipjs/chocolatechipjs.d.ts @@ -671,6 +671,12 @@ interface ChocolateChipAjaxSettings { */ type?: string; + /** + * An property that does not seem to be officially documented, but is used in the documentation. + * Its functionality seems to be identical to that of 'type' which *is* documented. + */ + method?: string; + /** * A pre-request callback function that can be used to modify the XMLHTTPRequest object before it is sent. * Use this to set custom headers, etc. This is an Ajax Event. Returning false in the beforeSend function will cancel the request.