On Aug 8, 2:22 pm, Gabriel Mariani <[email protected]> wrote:
> One last question before I post the rest to the bug report. If i define
> modules and encapsulate my extension in
>
> define([
> "firebug/lib/trace",
> "firebug/net/netUtils",
> "helloworld/myPanel"
> ],
> function(FBTrace, NetUtils) {
> /* ... */
>
> });
>
> instead of the old style of
>
> FBL.ns(function() { with (FBL) {
> /*...*/
>
> }});
>
> Won't that break compatibility with Firebug 1.6,1.7 anyways?
No
Following is the same (extensions never had to use with FBL
statement):
with (FBL) {
trimLeft(" hello");
}
or
FBL.trimLeft(" hello");
Honza
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en.