On 13/02/07, Fabian Jakobs <[EMAIL PROTECTED]> wrote:
> Hi Nick,
> We have turned IS_SOURCE into the setting "qx.isSource" to make it more
> consistent. You can use
>
> if (qx.core.Setting.get("qx.isSource")) {... }
>
> One other alternative os using the "qx.debug" variant
> (http://qooxdoo.org/documentation/user_manual/variants). If you use the
> following code
>
> if (qx.core.Variant.isSet("qx.debug", "on")) { ... }
>
> The code inside the body of the if statement can be completey removed
> from the build. This can be controlled using the Makefile variable
> |APPLICATION_OPTIMIZE_REMOVE_DEBUG (true by default).
Thanks for the advice on this; code amended.
Thanks,
Nick
-------------------------------------------------------------------------
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