flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Re: git commit: [flex-asjs] [refs/heads/develop] - Uploads are assumed to be POST
Date Wed, 12 Jul 2017 07:06:06 GMT

> Once we’re on this topic, there’s something that I had wanted to bring up for a long
time: I think trace statements should disappear in the release JS build. Should we put all
the JS trace code inside an if(goog.DEBUG)  block?

I’d suggest putting in a static Log class/method that is does nothing if goog.DEBUG is false
and traces goog.DEBUG is true. That way it makes easier to move to a real logging system at
some point in the future.

View raw message