473,322 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Opposite of JsMin?

I have a compressed/packed library that I am attempting to modernize. I
would rather not have to convert it to a whitespace version by hand if
possible.

Any chance on something like an "uncompresser/unpacker" tool existing?

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Apr 27 '07 #1
5 1473
On Apr 27, 9:44 am, -Lost <maventheextrawo...@techie.comwrote:
I have a compressed/packed library that I am attempting to modernize. I
would rather not have to convert it to a whitespace version by hand if
possible.

Any chance on something like an "uncompresser/unpacker" tool existing?
<URL: http://www.howtocreate.co.uk/tutorials/jsexamples/JSTidy.html>

The code won't be in the same order. This program uses the browser's
internal mechanics. I think I liked Opera the best for this.

Peter

Apr 27 '07 #2
Peter Michaux wrote:
On Apr 27, 9:44 am, -Lost <maventheextrawo...@techie.comwrote:
>I have a compressed/packed library that I am attempting to modernize. I
would rather not have to convert it to a whitespace version by hand if
possible.

Any chance on something like an "uncompresser/unpacker" tool existing?

<URL: http://www.howtocreate.co.uk/tutorials/jsexamples/JSTidy.html>

The code won't be in the same order. This program uses the browser's
internal mechanics. I think I liked Opera the best for this.
Awesome, thanks!

Weird results.

obj.objFunc = function() { this.ref = this; }
Firefox:

obj.objFunc = (function () {this.ref = this;});

Opera:

obj.objFunc = (function ()
{
this.ref = this;
}
);

Oh well. It appears (really just venturing a guess) it cannot handle
anonymous function addressing?

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Apr 27 '07 #3
On Apr 27, 10:10 am, -Lost <maventheextrawo...@techie.comwrote:
Peter Michaux wrote:
On Apr 27, 9:44 am, -Lost <maventheextrawo...@techie.comwrote:
I have a compressed/packed library that I am attempting to modernize. I
would rather not have to convert it to a whitespace version by hand if
possible.
Any chance on something like an "uncompresser/unpacker" tool existing?
<URL:http://www.howtocreate.co.uk/tutorials/jsexamples/JSTidy.html>
The code won't be in the same order. This program uses the browser's
internal mechanics. I think I liked Opera the best for this.

Awesome, thanks!

Weird results.

obj.objFunc = function() { this.ref = this; }

Firefox:

obj.objFunc = (function () {this.ref = this;});

Opera:

obj.objFunc = (function ()
{
this.ref = this;}

);

Oh well. It appears (really just venturing a guess) it cannot handle
anonymous function addressing?
It is not weird that the two browsers produce different results. The
JSTidy tool is using the browsers code.toString() function. (not that
there really is a code.toString() function)

Peter

Apr 27 '07 #4
On Apr 27, 10:44 am, -Lost <maventheextrawo...@techie.comwrote:
I have a compressed/packed library that I am attempting to modernize. I
would rather not have to convert it to a whitespace version by hand if
possible.

Any chance on something like an "uncompresser/unpacker" tool existing?
i use this a lot for beautify the bookmarklets:
http://elfz.laacz.lv/beautify/

Apr 28 '07 #5
scripts.contact wrote:
On Apr 27, 10:44 am, -Lost <maventheextrawo...@techie.comwrote:
>I have a compressed/packed library that I am attempting to modernize. I
would rather not have to convert it to a whitespace version by hand if
possible.

Any chance on something like an "uncompresser/unpacker" tool existing?

i use this a lot for beautify the bookmarklets:
http://elfz.laacz.lv/beautify/
Very nice! Thanks scripts.contact. It works *much* better than JSTidy.

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Apr 30 '07 #6

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

Similar topics

4
by: comp.lang.php | last post by:
Hi. Relative php newbie but longtime coder in other langs. Environment: PHP4. Looking for a language construct or function that gives the opposite of array(), example: function xyz($fmt,...
22
by: achrist | last post by:
The yield statement looks to be a big step toward some kind of lightweight concurrency-oriented programming in python. Is there any similarly nice way to do the opposite of yield, just sit around...
15
by: Greg Schmidt | last post by:
We all know that one trick in dealing with old browsers is to add extra bits of content with class="old", where old is defined as display:none in a style sheet that is @imported so that old...
2
by: ormy28 | last post by:
I really need some help with the following problem if anyone would be willing. I need a list box to list the opposite of what appears in a query. Heres the details: My database is for a...
5
by: darrel | last post by:
Given a URL to a file, you can user server.mappath to get the actual system file path. Is there a function that does the opposite? Ie, if I have this: ...
5
by: Tony | last post by:
Hi, I am looking for the opposite of wm_close, I assume it's possibly wm_open but no info comes up with that term. so, what is the opposite of WM_Close Any ideas welcome Tony
9
by: pranav.choudhary | last post by:
Hi I am new to python. I wanted to know if there is an opposite of "import"
11
by: igor.tatarinov | last post by:
Given a bunch of arrays, if I want to create tuples, there is zip(arrays). What if I want to do the opposite: break a tuple up and append the values to given arrays: map(append, arrays, tupl)...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.