Thanks Ariel.

I have found out that http://code.google.com/p/minify/ retains comments when
that are like /*! */
also I have seen that sometimes jQuery has this style of comment already

2009/1/31 Ariel Flesler <afles...@gmail.com>

>
> You should keep the headers somewhere, preferably close to the code.
> Something like this:
>
> /**
>  * jQuery
>  */
> (function($){...............});
> /**
>  * Plugin 1
>  */
> (function($){...............});
> /**
>  * Plugin 2
>  */
> (function($){...............});
>
> --
> Ariel Flesler
> http://flesler.blogspot.com
>
> On Jan 29, 10:53 pm, Sam Sherlock <sam.sherl...@gmail.com> wrote:
> > Having just seen this sitehttp://www.highpointvillage.co.uk&; running it
> > through yslow (it got an f 50/100), one way to improve it would be
> reducing
> > the http requests - but:-
> >
> > Would combining the scripts on a site like this with minify be contrary
> to
> > the license of jQuery?
> > could jquery be minifed in a file with the comment header retained at the
> > top of combined file?
> > or would one have to have a jquery.js file minified with comment header
> > intact and combine the plugins?
>

Reply via email to