17452 Posts in 4473 Topics by 1971 members
|Go to End|
13 June 2007 at 11:18am
There appears to be code in protoype_improvements.js that provides a replacement console.log() in cases where you don't have firebug installed.
The problem is that this has a habit of popping up on production sites.
13 June 2007 at 1:38pm
i've implemented the firebug-replacement.
13 June 2007 at 2:39pm
Alright, I've stitched these two up. If you're on a live site, then the console.log messages will be silently dropped.
I also fixed Debug.isLive() - it now calls !Debug.isDev()
Although you're right about getting rid of console.log messages after you've finished debugging, this will prevent ones that slip through from breaking sites.
Changeset here: http://trac.silverstripe.com/projects/gsoc/changeset/36771
|Go to Top|