neilime / zf2-assets-bundle

AssetsBundle is a module for Zend Framework 2 allowing asset managment (bundling & caching)
https://neilime.github.io/zf2-assets-bundle/
MIT License
33 stars 20 forks source link

JS in HeadScript instead of InlineScript #18

Open Zorathh opened 10 years ago

Zorathh commented 10 years ago

Hello,

Thank you for your work on this module, it's very useful. Therefore I have one question about Javascript inclusions. Each included JS is put into InlineScript instead of HeadScript. Is there a way to force Javascript files inclusion into HeadScript instead of InlineScript without modifying ViewHelperStrategy ?

This breaks some Javascript that could be present in views, not knowing jQuery as it is included in InlineScript.

Regards.

neilime commented 10 years ago

Sorry for the delay, but I'm working on new features, including your request