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.
Firebug and one-lined js files.
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: Firebug and one-lined js files.
Search for a JS code beautifier.
- 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.
I would imagine you would have the original, regular lined JavaScript file. When doing development, I strongly recommend you use that version.