Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added test for bug #232
  • Loading branch information
jzaefferer committed Oct 6, 2006
1 parent c5943ff commit 29f3fd5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ajax/ajax.js
Expand Up @@ -39,6 +39,13 @@ jQuery.fn.extend({
* start();
* });
*
* @test stop(); // check if load can be called with only url
* $('#first').load("data/name.php");
* setTimeout(function() {
* ok( $('#first').text() == 'ERROR', 'Check if load works without callback');
* start();
* }, 100);
*
* @name load
* @type jQuery
* @param String url The URL of the HTML file to load.
Expand Down

0 comments on commit 29f3fd5

Please sign in to comment.