James,

No point having 2 components that do identical things.
In my opinion since CombineJSViewComponent  is already part of MR
framework, we should add + improve this one + document it in stw.

Cheers
John

On Oct 29, 11:28 am, James Curran <[email protected]> wrote:
> I was actually thinking about added the combine/compress feature.  The was
> part of the reason for the survey -- to see if there enough interest to make
> the effort worthwhile.
>
> I had tried to think of a way to get it to switch to minized automatically.
> The Telerik method wouldn't work for me --- I don't compile the website,
> since all my compilable code is in a separate project.  However, with the
> JavaScript VC, you just refer to scripts by a keyword, and the actual
> pathname is in a xml file. So, you could have one file for development, and
> another, which specifies the minized versions, for production.
>
> P.S. In my last message, I missed one of the "Things to Notice".  The "On
> Ready"  code uses the jQuery method for doing that based on the
> preferredLibrary attribute in the xml file.  It presently handles jQuery,
> prorotype and extjs.
>
> Truth,
>     James
>
> On Thu, Oct 28, 2010 at 6:05 PM, John Simons 
> <[email protected]>wrote:
>
>
>
>
>
>
>
> > There is also something similar in MR right now:
> > CombineJSViewComponent
> > Seehttp://hammett.castleproject.org/?p=310
> > But it doesn't support remote files and no minification.
>
> > Also, had a look at the telerik one (see
>
> >http://www.telerik.com/help/aspnet-mvc/web-assets-working-with-javasc...
> > ),
> > and it does something cool, if you compile in debug mode it includes
> > the non minified version eg jquery.1.4.js, but if you compile in
> > release mode it includes the min version instead eg jquery1.4-min.js,
> > I thought that was a nice feature :)

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to