Hi

These bugs are present in vsdoc version of jquery, jquery-1.3.2-
vsdoc2.js, not in jquery-1.3.2.js.

The ajax events (ajaxStart, ajaxError etc.) are broken.
When you try to call them you get " 'f' is undefined".

Looking at the offending code...

//--
// [vsdoc] The following section has been denormalized from original
sources for IntelliSense.
// Attach a bunch of functions for handling common AJAX events
// jQuery.each
( "ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split
(","), function(i,o){
//      jQuery.fn[o] = function(f){
//              return this.bind(o, f);
//      };
// });

jQuery.fn["ajaxStart"] = function(callback) {
        ///     <summary>
        ///             Attach a function to be executed whenever an AJAX 
request begins
and there is none already active. This is an Ajax Event.
        ///     </summary>
        ///     <param name="callback" type="Function">The function to 
execute.</
param>
        ///     <returns type="jQuery" />
        return this.bind("ajaxStart", f);
};

//--

... the problem is that in
jQuery.fn["ajaxStart"] = function(callback) {
the parameter was renamed from f to callback, but it wasn't renamed in
the method body.

Where can I log this bug?

I would open a new ticket for this on jquery.com, but I'm not sure if
the jquery team maintain the vsdoc stuff or if someone at Microsoft
does it.

Regards,
Henri Wiechers

Reply via email to