Commit 6cb2e8ee authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fixed second test for load()

parent b30a469a
...@@ -41,10 +41,10 @@ jQuery.fn.extend({ ...@@ -41,10 +41,10 @@ jQuery.fn.extend({
* *
* @test stop(); // check if load can be called with only url * @test stop(); // check if load can be called with only url
* $('#first').load("data/name.php"); * $('#first').load("data/name.php");
* setTimeout(function() { * $.get("data/name.php", function() {
* ok( $('#first').text() == 'ERROR', 'Check if load works without callback'); * ok( $('#first').text() == 'ERROR', 'Check if load works without callback');
* start(); * start();
* }, 500); * });
* *
* @name load * @name load
* @type jQuery * @type jQuery
......
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