<include-js> include a JS file in content

name
include-js
xml namespace
http://moyaproject.com

Like <include-css>, but inserts a link to a JS file.

The JS files may be inserted in to the template as follows:

{% render include.js %}

This is equivalent to the following:

{%- for include in include.js %}
<script type="text/javascript" href="${include.path}"/>
{%- endfor %}
inherited attributes
name purpose type required? default choices
from Application application reference No
if Conditional expression expression No yes
media Media name text No "media"
path Path to CSS text No
type Type of link text No "css"
url External URL text No