On Dec 1, 12:06 pm, TK <[email protected]> wrote:
> I have a html page and it dynamically load a file and do a eval() for
> the <script> element inside the page. For example:
>
> index.html -> ajax load content.html -> eval (<script>alert('aaa');</
> script>) inside content.html.
>
> When I want to debug the javascript content, it shows all the
> javascript object as one single line: as
>
> YAHOO.namespace('mycode');
> if (YAHOO.mycode.obj = null) {
>    YAHOO.mycode.obj = {init: function() { // initialize;},
> dosomething: function() { // dosomething; }, dosomehting2: function()
> { // dosomething2 }};}
>
> YAHOO.mycode.obj.init();
>
> It should the object correct in the old version of firebug. However,
> the new firebug display the code as single line.

? I don't understand what you are saying.
jjb

>
> Thanks

--

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.


Reply via email to