]> source.dussan.org Git - jquery.git/commitdiff
Marked load() as private, won't work anyway
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sun, 1 Oct 2006 13:15:11 +0000 (13:15 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sun, 1 Oct 2006 13:15:11 +0000 (13:15 +0000)
src/event/event.js

index 3610122a85b147e760d4cd715b9789c9ccc2f2ba..186fa0daeb4fe189b54e9814476b20548272ed9d 100644 (file)
@@ -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
                 */