From b8b8a80e3f6ae1d557e20b834bb128069c62bc0a Mon Sep 17 00:00:00 2001 From: Oxicode Date: Fri, 3 Jan 2020 09:43:53 -0500 Subject: [PATCH] Update examples.html --- includes/examples.html | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/includes/examples.html b/includes/examples.html index 2711004..f15573d 100644 --- a/includes/examples.html +++ b/includes/examples.html @@ -426,23 +426,18 @@

Example #6

}, onSuccess: function(data, textStatus, jqXHR) { console.log('onSuccess(data, textStatus, jqXHR)'); - console.log(data); - console.log(textStatus); - console.log(jqXHR); + console.log({data, textStatus, jqXHR}); }, onFail: function(jqXHR, textStatus, errorThrown) { console.log('onFail(jqXHR, textStatus, errorThrown)'); - console.log(jqXHR); - console.log(textStatus); - console.log(errorThrown); + console.log({jqXHR, textStatus, errorThrown}); }, onAlways: function() { console.log('onAlways()'); }, onAjax: function(action, serialize) { console.log('onAjax(action, serialize)'); - console.log(action); - console.log(serialize); + console.log({action, serialize}); } }); @@ -594,4 +589,4 @@

Example #6

prettyPrint(); }); - \ No newline at end of file +