Commit 29f3fd50 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Added test for bug #232

parent c5943ff9
...@@ -39,6 +39,13 @@ jQuery.fn.extend({ ...@@ -39,6 +39,13 @@ jQuery.fn.extend({
* start(); * 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 * @name load
* @type jQuery * @type jQuery
* @param String url The URL of the HTML file to load. * @param String url The URL of the HTML file to load.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment