Added 2 of 3 fixes of #164
[jquery.git] / src / ajax / ajax.js
index 896f92d..bcf9472 100644 (file)
@@ -288,6 +288,18 @@ jQuery.extend({
         *   }
         * )
         *
+        * @test stop();
+        * $.get('data/dashboard.xml', function(xml) {
+        *      var content = [];
+        *      $('tab', xml).each(function() {
+        *              content.push($(this).text());
+        *      });
+        *      ok( content[0] == 'blabla', 'Check first tab');
+        *      ok( content[1] == 'blublu', 'Check second tab');
+        *      start();
+        * });
+        * 
+        *
         * @name $.get
         * @type jQuery
         * @param String url The URL of the page to load.