git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b30a469
)
Fixed second test for load()
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Mon, 9 Oct 2006 07:24:46 +0000
(07:24 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Mon, 9 Oct 2006 07:24:46 +0000
(07:24 +0000)
src/ajax/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax/ajax.js
b/src/ajax/ajax.js
index
dd62b42
..
896f92d
100644
(file)
--- a/
src/ajax/ajax.js
+++ b/
src/ajax/ajax.js
@@
-41,10
+41,10
@@
jQuery.fn.extend({
*
* @test stop(); // check if load can be called with only url
* $('#first').load("data/name.php");
- * setTimeout(function() {
+ * $.get("data/name.php", function() {
* ok( $('#first').text() == 'ERROR', 'Check if load works without callback');
* start();
- * }, 500);
+ * });
*
* @name load
* @type jQuery