PDA

View Full Version : Code compression in 3.7?


Guest210212002
04-04-2008, 11:34 AM
Apologies if this is the wrong section, but it seemed more coding related than general.

On every version of vB save 3.7 RC1/2 , I've been able to happily open up the files in my favorite editor and go to town, and it's always been properly tabbed with line breaks, like so:

http://www.sevenstring.org/chris/vbm_good.jpg

With 3.7, every download has yielded me files that open like this:

http://www.sevenstring.org/chris/vbm_bad.jpg

Am I doing something wrong, or is the code not archived with the proper breaks in it? As you can imagine the second format makes it rather hard to edit anything. It also comes out like this if I open the files on the server using emacs, or from my desktop before uploading using notepad.

Opserty
04-04-2008, 11:55 AM
Didn't vBulletin say they were including compressed JS files to reduce bandwidth? There should be an option to download the uncompressed JS files.

Marco van Herwaarden
04-04-2008, 12:01 PM
https://vborg.vbsupport.ru/showthread.php?t=172350

Minified Javascript Files
In order to minimize the download footprint of the vBulletin Javascript files, these are now distributed in 'minified' (compressed) form when a package is downloaded from the Members' Area. The uncompressed versions are still available as a download option should people want them for modification purposes etc.

Guest210212002
04-04-2008, 12:03 PM
Well now, don't I feel silly. :D

Thanks all.