I added some minor functionality to the Symfony\Components\Templating
\Helper\JavascriptHelper allowing for one to order javascript files.
ie:
<?
// layout.php
// This should be after any library included.
$view->javascripts->add('layout.js',array(),2);
// more likely to be jquery.js or mootools.js
$view->javascripts->add('base.js',array(),1);
?>
<?
// template.php
//Template specific JS files
$view->javascripts->add('someSpecialScript.js',array(),3);
$view->extend( 'ContentBundle::layout');
?>
A. How does this sound? I've participated in some discussion in this
on other frameworks with some debate as to wither this belongs into
the core or not.
B. How would I submit such a patch or feature?
-Chase
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en