473,554 Members | 2,307 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript in one line

After Downloading JS file form server, I found that it is compressed
into one line. What can I do to expand the js file, any tools?

May 25 '07 #1
7 1887

ranch99ranc...@ gmail.com wrote:
After Downloading JS file form server, I found that it is compressed
into one line. What can I do to expand the js file, any tools?
Check out Aptana (http://www.radrails.org/).

I believe it will do what you want.

-RYAN

May 25 '07 #2
ra************@ gmail.com wrote:
After Downloading JS file form server, I found that it is compressed
into one line. What can I do to expand the js file, any tools?
JSTidy - http://www.howtocreate.co.uk/tutoria...es/JSTidy.html

But I much prefer elfz' version here - http://elfz.laacz.lv/beautify/

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
May 25 '07 #3
atxryan wrote:
ranch99ranc...@ gmail.com wrote:
>After Downloading JS file form server, I found that it is compressed
into one line. What can I do to expand the js file, any tools?
<snipped seemingly useless URL>
>
I believe it will do what you want.
Oh yeah? How?

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
May 25 '07 #4
On May 25, 1:13 pm, -Lost <maventheextraw o...@techie.com wrote:
atxryan wrote:
ranch99ranc...@ gmail.com wrote:
After Downloading JS file form server, I found that it is compressed
into one line. What can I do to expand the js file, any tools?

<snipped seemingly useless URL>
I believe it will do what you want.

Oh yeah? How?

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
On closer examination, it looks like the Aptana IDE will only
'compact' javascript. It's new and I don't use it, but I knew that it
did have the option to compact and assumed that it could beautify as
well. My mistake... perhaps that feature will be included in v.3. Your
snarky and utterly useless secondary reply is appreciated. Really.

Your first reply, however, is truly appreciated. So, thanks.

May 25 '07 #5
atxryan wrote:
On May 25, 1:13 pm, -Lost <maventheextraw o...@techie.com wrote:
>atxryan wrote:
>>ranch99ranc.. .@gmail.com wrote:
After Downloading JS file form server, I found that it is compressed
into one line. What can I do to expand the js file, any tools?
<snipped seemingly useless URL>

>>I believe it will do what you want.
Oh yeah? How?
<snipped sig>
>
On closer examination, it looks like the Aptana IDE will only
'compact' javascript. It's new and I don't use it, but I knew that it
did have the option to compact and assumed that it could beautify as
well. My mistake... perhaps that feature will be included in v.3. Your
snarky and utterly useless secondary reply is appreciated. Really.

Your first reply, however, is truly appreciated. So, thanks.
Hrmm... for the record:

1. Snipped seemingly useless URL - I found *NO* information concerning
prettying, or beautifying code.
2. I asked a legitimate question.

How are either of these useless?

I do love the fact that by me cutting straight to the point, I am being
snarky. :Ž

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
May 25 '07 #6
On May 25, 1:43 pm, -Lost <maventheextraw o...@techie.com wrote:
>
Hrmm... for the record:

1. Snipped seemingly useless URL - I found *NO* information concerning
prettying, or beautifying code.
2. I asked a legitimate question.

How are either of these useless?

I do love the fact that by me cutting straight to the point, I am being
snarky. :Ž

--
1. The link was to an IDE tool.
2. 'How?' is straight to the point. 'Oh yeah?' is goading.

Ah, the joys of emotive postings... I'm off. Have a great holiday
weekend.

-RYAN

May 25 '07 #7
atxryan wrote:
On May 25, 1:43 pm, -Lost <maventheextraw o...@techie.com wrote:
>Hrmm... for the record:

1. Snipped seemingly useless URL - I found *NO* information concerning
prettying, or beautifying code.
2. I asked a legitimate question.

How are either of these useless?

I do love the fact that by me cutting straight to the point, I am being
snarky. :Ž

1. The link was to an IDE tool.
And still has nothing to do with prettying or beautifying code.
2. 'How?' is straight to the point. 'Oh yeah?' is goading.
Either I am being snarky or I am goading you. Which is it?

Besides, to goad means to urge. So yes, I was goading you to issue a
response that had anything to do with the original question asked.
Ah, the joys of emotive postings... I'm off. Have a great holiday
weekend.
Yeah, yeah. Have a great weekend too.

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
May 25 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
4249
by: Patrick | last post by:
I am trying to download the html page at http://www.dreamteamfc.com/dtfc04/servlet/PostPlayerList?catidx=1 Using the code public class DownloadWebPage { public static void main (String args) throws IOException { URL url = new
4
2223
by: Owen Parker | last post by:
Hi all I am not a java programmer but i can hack at it a bit. I am trying to allow a user to define the text in a simple javascript text scroller. The data is stored as multiple records in a MYSQL table. I read these using PHP and the result is an array if you will of each of the 'lines' or records that the user wants displayed in the...
72
5153
by: Stephen Poley | last post by:
I have quite often (as have probably many of you) come across HTML forms with irritating bits of Javascript attached. The last straw on this particular camel's back was a large form I was asked to complete in connection with attendance at a seminar. After spending more than 15 minutes on it, I clicked on the submit button - and nothing...
53
5671
by: Cardman | last post by:
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is difficult to know what is going on. One of these Order Forms you can see here... http://www.cardman.co.uk/orderform.php3
6
2265
by: Alex Rast | last post by:
First of all, this is not a programming question. I'm a user, not programming in JavaScript. I'm not, however, a novice user or even a power user - I certainly know programming intimately as well as computer hardware, configuration, etc... down to the lowest level (e.g. BIOS, assembly language, etc). Anyway, I've obviously got something...
4
2401
by: Gary Varga | last post by:
Are you getting confused between client and server? Should it be: > >Source Error: > >Line 39: >Line 40: <DIV ID=divOverview >Line 41: STYLE=CustomHeightedStyle()
13
8283
by: John Smith | last post by:
I am using IE 6.0 from http://www.javaworld.com/javaworld/jw-07-1996/jw-07-javascript-p2.html I gather that "If you need to test a number of command lines, you can reduce the keystrokes by typing javascript: (remember the colon) in the Location box. Navigator displays a "JavaScript typein" frame at the bottom of the window. Type the...
8
3639
by: chrisdude911 | last post by:
how do i add video into a javascript web page with my own custom buttons?
3
2954
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, This is an issue that happens to me and everybody else I know and I've never found a way around it. In Visual Studio (currently using 2003 but the same has happened for me in 2005 and 2008 as well) If I put a breakpoint in a .js file, the debugger picks it up and breaks into it at that point.
3
3431
by: mahasarathi | last post by:
Am new to javaScript. Am trying to draw circuits in JavaScript. I have problem with drawing the arcs in the AND & OR logic gates Can any body help me to do this? Am using IE6.0. it's not supporting canvas. fillArc() method of JavaScript is also not working. <HTML>
0
7612
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7576
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7895
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6163
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5165
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3583
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3564
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2027
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
853
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.