Skip to content

Commit

Permalink
Reorganizing JavaScript source files
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzschmid committed Feb 19, 2022
1 parent a759377 commit 8476dbe
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 14 deletions.
23 changes: 12 additions & 11 deletions _includes/js/conference.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,32 @@
window.conference = {};

// Bootstrap (Style Framework)
{% include js/jquery-3.5.1.min.js %}
{% include js/popper.min.js %}
{% include js/bootstrap.js %}
{% include js/lib/jquery-3.5.1.min.js %}
{% include js/lib/popper.min.js %}
{% include js/lib/bootstrap.js %}

// FontAwesome (Icons)
// Imported via CSS and webfonts

// Program
{% include js/conference-program.js %}
{% include js/lib/syncscroll.js %}
{% include js/program.js %}

// Leaflet (Map Display)
{% include partials/get_enable_map.html %}
{% if enable_map %}
{% include js/leaflet.js %}
{% include js/leaflet-easybutton.js %}
{% include js/leaflet-locatecontrol.js %}
{% include js/leaflet-providers.js %}
{% include js/lib/leaflet.js %}
{% include js/lib/leaflet-easybutton.js %}
{% include js/lib/leaflet-locatecontrol.js %}
{% include js/lib/leaflet-providers.js %}

{% include js/conference-map.js %}
{% include js/map.js %}
{% endif %}

// Modals ("Popups")
{% include js/conference-modal.js %}
{% include js/modal.js %}

// Live and Streaming
{% if site.conference.live %}
{% include js/conference-live.js %}
{% include js/live.js %}
{% endif %}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// Vertical Scroll Sync
{% include js/syncscroll.js %}

window.conference.program = (function() {
let updateHash = function (hash) {
let scrollPosition = $('body').scrollTop() || $('html').scrollTop();
Expand Down

0 comments on commit 8476dbe

Please sign in to comment.