PDA

View Full Version : console.log recommendation



gatherworks
4 Apr 2012, 12:39 AM
When I add "debugger" to my code, Designer does a great job of marking it with an error reminder:
All 'debugger' statements should be removed.

Since "console.log" statements causes an error on at IE8 and kills the entire application in some cases, it makes sense to use the same approach on these.

Phil.Strong
4 Apr 2012, 6:34 AM
A good idea. Perhaps we'll update the jshint defaults. I think in the future we'll also allow users to use their own jshint options.