Glad you finally got that sorted out. Does it work fine when you select the
javascript as it should then go off a temporary file.

Anyway I have actually just added a function to unpack JS that has been packed
using the Dean Edwards' packer (ie what this script uses). As the unpacker then
puts it all on a single line I had to implement a JS beautifier to make it
legible and so have also added a sub menu called Beautify that contains the item
Beautify JS that can be called separately if needed. Both the unpacker and
beautifier are taken from http://jsbeautifier.org/ by Einar.

And yes packed JS does cause some extra overhead and slight delays at the user
end due to the browser having to unpack it all before it can use it. I
personally just use compressed JS with unmunged variables. I put the packer in
to give people the choice.

Now I wonder if I can convert the PHP beautifier from PHP to Javascript so it
can be used in PSPad without the need for external calls.

-- 
Carbonize

<http://forum.pspad.com/read.php?2,51923,52050>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem