Well, those bundles could just include a jQuery Bundle using composer and
use that. 

The problem being is that there are multiple jQuery bundles[1], none of them
official.

 

[1] - http://packagist.org/search/?q=jQuery

 

Thanks

 

Michael C

UKB

 

From: symfony-devs@googlegroups.com [mailto:symfony-devs@googlegroups.com]
On Behalf Of Ivan Lubomir
Sent: 28 August 2012 19:20
To: symfony-devs@googlegroups.com
Subject: [symfony-devs] Template {{ asset() }} and multiple including the
same JS lib

 

I see in many bundles the same libraries as jquery.js. So, if try use
diffrent bundles, we can get terrible porridge.
Is it possible to add in {{ asset() }} as second param string like tag, so:

{{ asset('bundles/bestwork/js/jquery.js', 'jquery') }} 

that allow include jquery once independed on other bundles?

-- 
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
 
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to