aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ajax/ajax.js')
-rw-r--r--src/ajax/ajax.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js
index 1b1e274db..4ade2e846 100644
--- a/src/ajax/ajax.js
+++ b/src/ajax/ajax.js
@@ -661,6 +661,16 @@ jQuery.extend({
* }
* });
*
+ * @test stop();
+ * $.ajax({
+ * url: "data/with_fries.xml", dataType: "xml", type: "GET", data: "", success: function(resp) {
+ * ok( $("properties", resp).length == 1, 'properties in responseXML' );
+ * ok( $("jsconf", resp).length == 1, 'jsconf in responseXML' );
+ * ok( $("thing", resp).length == 2, 'things in responseXML' );
+ * start();
+ * }
+ * });
+ *
* @name $.ajax
* @type jQuery
* @param Hash prop A set of properties to initialize the request with.