[Mono-dev] [PATCH] unbreak postbacks (fix for r70294)

Christian Birkl christian.birkl at gmail.com
Wed Jan 3 17:27:27 EST 2007

2007/1/3, Marek Habersack <grendello at gmail.com>:
> > if ((typeof ValidatorOnSubmit == 'function') && !ValidatorOnSubmit())
> > return;
> >
> How backwards compatible, re javascript version, this code is?

The typeof operator exists since version 1 of javascript/ecmascript and
every object which implements [Call] returns 'function'. So it is pretty
backwards and browser compatible (I'm going as far as to bet one beer
that Netscape 3.x supports this statement ;-))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070103/910e5ebd/attachment.html 

More information about the Mono-devel-list mailing list