[Owncloud] coding errors

Aqeel Zafar aqeel at aqeeliz.com
Mon Jan 30 15:03:36 UTC 2012


On Mon, Jan 30, 2012 at 19:10, Dirk Kastens
<dirk.kastens at uni-osnabrueck.de> wrote:
> Hi,
>
> the strangest thing happened to the javascript files. In my installation
> (just bunzip and tar) the file core/js/jquery-1.6.4.min.js only has four
> lines:
>
> # wc jquery-1.6.4.min.js
>   3 1257 91669 jquery-1.6.4.min.js
>
> Half of the files under apps/files_texteditor/js/aceeditor only consist of a
> single long line:
>
> # wc *
>      0      73    2921 ace-compat.js
>    489    3804   23216 ace-compat-uncompressed.js
>      0    2559  217565 ace.js
>  14205   50847  511203 ace-uncompressed.js
>      0      76    3545 keybinding-emacs.js
> ...
>
> How is that?
>
> Dirk

Hey,

This is not a bug, it's a feature. :)

These are 'min' or 'compact' files, that remove all whitespace,
comments etc. to reduce the file size (resulting in faster page
loads). If you open the files in a text editor, you will see, that
these four lines contains code that usually covers hundreds of lines.

Regards,

-- 
Aqeel Zafar
http://aqeeliz.com



More information about the Owncloud mailing list