Page 1 of 1

Firebug and one-lined js files.

Posted: Thu Oct 02, 2008 5:23 pm
by JellyFish
I have this javascript file that is compiled to one line. When I start and then end a profile in firebug to see all the functions executing, and click on one of the functions it takes me to line one because there's only one line in my javascript file.

I was just wondering if there was a way to get firebug to take me to the character on that line or is there a way to get the script to be multi-lined again?

Thanks for reading.

Re: Firebug and one-lined js files.

Posted: Fri Oct 03, 2008 12:06 pm
by alex.barylski
Search for a JS code beautifier.

Re: Firebug and one-lined js files.

Posted: Mon Oct 06, 2008 10:00 pm
by Ambush Commander
I would imagine you would have the original, regular lined JavaScript file. When doing development, I strongly recommend you use that version.