Am 03.08.2006 um 12:50 schrieb Dietrich Streifert: > Yes it works now with rev 3723. Thank you. > > BTW: what is the difference of > > if (typeof vObject !== qx.constant.Type.UNDEFINED && vObject !== > null) and
IMHO, this whole if statement should be shortened to this: if (vObject != null) This has the same effect (because undefined == null, but not undefined === null in JavaScript). But it's much more readable (and I doubt it's any slower - if you insist, I'll produce a test ;-)). > if (vObject) if (vObject) is equivalent to something like if (vObject != false && vObject != null) Regards, Andreas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
