thank you so much. i guess an exception should be thrown---some
obvious action taken. sometimes you do something wrong, and all you
get is a pointer to an non-obvious location with your minified
jquery.js. a message would be so much more helpful. and this
particular case is much worse as execution just fails silently,
untraceably.

cheers & ~flow

On Sep 19, 3:35 am, Dave Methvin <[EMAIL PROTECTED]> wrote:
> > the argument to `hasClass` is problematic: it uses selector-syntax and
> > starts with a dot. this is a mistake that easily results from copy-n-
> > pasting code. acceptable reactions of jQuery to this would be
> > responding with something like `null`, `undefined`, or `false`, or
> > raising an exception for having been passed a bogus argument.
>
> I filed a bug on this, it was pretty easy to repro.
>
> http://dev.jquery.com/ticket/3380

Reply via email to