Explicit options should override defaults

26 views
Skip to first unread message

Zach

unread,
Feb 10, 2012, 12:29:55 PM2/10/12
to Firebug
When specifying firebug lite options, they should override any
defaults.

For example, when I used firebug-lite-debug.js or firebug-lite-
beta.js, the script sets Env.isDebugMode = true and because of this
sets:

Env.Options.startOpened = true;
Env.Options.enableTrace = true;
Env.Options.disableWhenFirebugActive = false;

after explicitly saying startOpened = false using the following:

<script type="text/javascript" src="../firebug-lite-debug.js">
{
"startOpened": false
}
</script>

solution?

Move this:

// process the Debug Mode
if (Env.isDebugMode)
{
Env.Options.startOpened = true;
Env.Options.enableTrace = true;
Env.Options.disableWhenFirebugActive = false;
}

before looping through the JSON Options.

Sebo

unread,
Feb 13, 2012, 6:19:25 PM2/13/12
to fir...@googlegroups.com
The Firebug Working Group currently concentrates all resources on Firebug, which means that Firebug Lite development is on halt.
Though feel free to provide a patch for that.

Sebastian
Reply all
Reply to author
Forward
0 new messages