Closed Thread Icon

Preserved Topic: script shrinker (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18099" title="Pages that link to Preserved Topic: script shrinker (Page 1 of 1)" rel="nofollow" >Preserved Topic: script shrinker <span class="small">(Page 1 of 1)</span>\

 
JakeB
Paranoid (IV) Inmate

From: us
Insane since: Oct 2000

posted posted 06-21-2001 21:19

do you know of a site where it shrinks your scripts by removing any extra spaces?

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 06-21-2001 21:24

http://www.brainjar.com/js/crunch/demo.html

JakeB
Paranoid (IV) Inmate

From: us
Insane since: Oct 2000

posted posted 06-21-2001 22:17

that's the exact same one i was thinking of

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-21-2001 22:42

The one thing I noticed on that, is that is removes the closing comment tags. Won't that cause problems?

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 06-21-2001 23:01

It is removing closing comment tag, because in most cases it starts with // which indicates that it is a comment (and the script removes all comments).

jiblet
Paranoid (IV) Inmate

From: Minneapolis, MN, USA
Insane since: May 2000

posted posted 06-22-2001 19:57

You could always use a regular expression...

-jiblet

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 06-23-2001 09:46

I was thinking too of the same URL.
But I also had an idea of writting an UN-cruncher for this script.
I mean if i was that good with regexps, i can then write a script that will re-put white spaces and newlines after each statments and stuff like that.


« BackwardsOnwards »

Show Forum Drop Down Menu