dli-iclinic / gaforflash

Automatically exported from code.google.com/p/gaforflash
Apache License 2.0
0 stars 0 forks source link

GATracker class does assign the debug property if provided #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create DebugConfiguration instance and pass it into the GATracker
constructor

var debugConfiguration:DebugConfiguration = new DebugConfiguration();
var tracker:GATracker = new GATracker(this, "U-Whatever", TrackerMode.AS3,
true, null, debugConfiguration);

What is the expected output? What do you see instead?
GATracker class does not have an else statement to assign the debug
property if provided

if( !debug )
{
   this.debug = new DebugConfiguration();
}

should be

if( !debug )
{
   this.debug = new DebugConfiguration();
}else
{
   this.debug = debug;
}

Original issue reported on code.google.com by jvcle...@gmail.com on 21 Nov 2009 at 7:35