{#
    Template: entry_point.js.jinja2
    Variables:
        js_imports    array of strings to supply to import statement.
                      e.g. 'bootstrap' (with quotes) or 'jQuery from "jquery"'
                      (without the single quotes, but with double quotes.)
        js_stmts      array of javascript statements to place in the entry point.
                      statements must include terminating ; characters
#}
import jQuery from "jquery";
window.$ = window.jQuery = jQuery;
import 'popper.js';
import 'bootstrap';
import 'bootstrap/dist/css/bootstrap.min.css';

jQuery(document).ready(function() {
    let o = {};
{% for ready_stmt in ready_stmts %}
{{ ready_stmt }}
{% endfor %}
});

{% block js_imports_block %}
{% for import_str in js_imports %}
import {{ import_str }};
{% endfor %}
{% endblock js_imports_block %}
{% block js_statements %}
{% for statement in js_stmts %}
{{ statement }}
{% endfor %}
{% endblock js_statements %}
{% block extra_js_stmts %}
{% endblock extra_js_stmts %}
