Hi there,
2010/6/12 sramos <[email protected]>:
>
> Hi everybody!
> Ive been using dojo with its extension of firebuglite, and when i was
> in development stage i had the option "isDebug: true" and could easily
> change to "isDebug: false" when was to put the pages in production
> environments.
> Ej:
> Development environment:
> <script type="text/javascript" src="http://o.aolcdn.com/dojo/
> 1.0.0/dojo/dojo.js"
> djConfig="parseOnLoad: true, isDebug: true"></script>
> Production environment:
> <script type="text/javascript" src="http://o.aolcdn.com/dojo/
> 1.0.0/dojo/dojo.js"
> djConfig="parseOnLoad: true, isDebug: false"></script>
>
> The newest version of dojo doesnt support firebuglite anymore. So i
> took the firebug lite sources and included them for my development
> stage. It functions as i waited, but i dont know if i would be able to
> desable it for production environments as used to do it with dojo.
I don't how Dojo used to handle the Firebug Lite loading, so I think
would be good to ask them how it used to work and how could you
do the same now, that is, loading Firebug Lite only when in
development. You probably can specify somewere which
files/modules you will load.
> Ej:
> Development environment:
> <script type="text/javascript" src="web-resources/js/firebug-lite/
> build/firebug-lite.js"/>
> {
> showIconWhenHidden:true,
> enableTrace:true,
> startOpened:false
> }
> </script>
> Production environment: ???
It is recommended to not load Firebug Lite at all when in production
environment and I suppose this was the Dojo "isDebug: false" config
used to do.
So in production environment you simply do not load the Firebug Lite script.
Pedro Simonetti.
>
>
> Thanks in advance!
>
> --
> 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.
>
>
--
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.