HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/panel/_templates/js_resources.html
{#
Renders HTML that loads BokehJS JavaScript code and CSS according to the
configuration in a Resources object.

:param hashes: a map of filenames for to SRI hashes
:type hashes: dict[str, str]

:param js_files: a list of URIs for JS files to include
:type js_files: list[str]

:param js_modules: a list of URIs for JS modules to include
:type js_files: list[str]

:param js_raw: a list of raw JS snippets to put between ``<script>`` tags
:type js_raw: list[str]

#}
<script type="esms-options">{"shimMode": true}</script>

{% for file in js_files %}
<script type="text/javascript" src="{{ file }}"></script>
{% endfor %}

{% for file in js_modules %}
<script type="module" src="{{ file }}"></script>
{% endfor %}

{%- for name, file in js_module_exports.items() %}
<script type="module">
  import {{ name }} from "{% if not file.startswith('http') %}./{% endif %}{{ file }}";
  window.{{ name }} = {{ name }}
</script>
{%- endfor %}

{%- for js in js_raw %}
<script type="text/javascript">
  {{ js }}
</script>
{%- endfor %}