Firebug and one-lined js files.

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Firebug and one-lined js files.

Post 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.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Firebug and one-lined js files.

Post by alex.barylski »

Search for a JS code beautifier.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Re: Firebug and one-lined js files.

Post 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.
Post Reply