[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Minified javascripts in packages



 ❦ 14 avril 2015 18:22 +1000, Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@bitmessage.ch> :

> It makes sense that for small changes, the preferred form for
> modification would be the generated bootstrap.css. A potential problem
> with this would be that you can generate bootstrap.css from the LESS
> files, but (I assume) you can't generate the LESS files from the
> bootstrap.css.
>
> Perhaps more importantly, CSS is easily understandable, whereas
> minified javascript is not. Debugging minified javascript is almost
> impossible.

JS doesn't have to minified. Like the example above, the code can be
concatenated and edited. jQuery non-minified is distributed as a single
JS file while the original source is composed of many files.
-- 
Don't comment bad code - rewrite it.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature


Reply to: