[jQuery] $.getScript error message

[jQuery] $.getScript error message

Calling $.getScript with only one parameter, being the url, I always get
this message (on FF):
"data has no properties"
It points to line 226 of http://jquery.com/dev/svn/jquery/src/ajax/ajax.js
if ( data.constructor == Function ) {
type = callback;
callback = data;
data = null;
}
What I do is as simple as this:

$.getScript('http://newsride/shared/fetch/account/login/login.js?v=20060620-1');
So I thought changing line 226 to
if ( data && data.constructor == Function ) {
should fix the problem and it did. Could someone with more insight
judge, if this is a bug that should be fixed in JQuery?
Arash
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/