From: Jörn Zaefferer Date: Sun, 1 Oct 2006 13:15:11 +0000 (+0000) Subject: Marked load() as private, won't work anyway X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=47200bc76f83784f448bda31ac2cb166647aca71;p=jquery.git Marked load() as private, won't work anyway --- diff --git a/src/event/event.js b/src/event/event.js index 3610122..186fa0d 100644 --- 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

Hello

* @result alert('Hello'); * * @name load + * @private * @type jQuery * @cat Events/Browser */