> Ok, I added qx.SOURCE_BUILD in svn revision 5440.

Thanks! I can start using it now even though I'm not using SVN code. It will 
kick in with the next release.

So that the code can be automatically migrated in future (to using preprocessor 
instructions), we should have a standard way of doing testing for this - 
perhaps:

if (qx.SOURCE_BUILD) {
  // do something
};

Other ways of doing it might be 

if ("SOURCE_BUILD" in qx)

or even this, to distinguish between undefined and null:

if (qx.SOURCE_BUILD !== undefined)

Sebastian?

Hugh

-------------------------------------------------------------------------
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

Reply via email to