neilime/zf2-assets-bundle

JS in HeadScript instead of InlineScript

Zorathh opened this issue · 1 comments

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.

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