Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / April 2007



Tip: Looking for answers? Try searching our database.

Opposite of JsMin?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
-Lost - 27 Apr 2007 17:44 GMT
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?

Signature

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

Peter Michaux - 27 Apr 2007 17:47 GMT
> 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
-Lost - 27 Apr 2007 18:10 GMT
>> 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
[quoted text clipped - 6 lines]
> 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?

Signature

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

Peter Michaux - 27 Apr 2007 18:21 GMT
> >> 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
[quoted text clipped - 27 lines]
> 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
scripts.contact - 28 Apr 2007 06:50 GMT
> 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/
-Lost - 30 Apr 2007 08:14 GMT
>> 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
[quoted text clipped - 4 lines]
> 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.

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.