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:
308d771
)
Marked load() as private, won't work anyway
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Sun, 1 Oct 2006 13:15:11 +0000
(13:15 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Sun, 1 Oct 2006 13:15:11 +0000
(13:15 +0000)
src/event/event.js
patch
|
blob
|
history
diff --git
a/src/event/event.js
b/src/event/event.js
index
3610122
..
186fa0d
100644
(file)
--- a/
src/event/event.js
+++ b/
src/event/event.js
@@
-720,11
+720,15
@@
new function(){
* Trigger the load event of each matched element. This causes all of the functions
* that have been bound to thet load event to be executed.
*
+ * Marked as private: Calling load() without arguments throws exception because the ajax load
+ * does not handle it.
+ *
* @example $("p").load();
* @before <p onload="alert('Hello');">Hello</p>
* @result alert('Hello');
*
* @name load
+ * @private
* @type jQuery
* @cat Events/Browser
*/