summaryrefslogtreecommitdiff
path: root/public/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/static/js')
-rw-r--r--public/static/js/autocomplete.js6
-rw-r--r--public/static/js/geolocation.js5
-rw-r--r--public/static/js/travelynx-actions.js5
3 files changed, 16 insertions, 0 deletions
diff --git a/public/static/js/autocomplete.js b/public/static/js/autocomplete.js
index fe81482..6ae12f5 100644
--- a/public/static/js/autocomplete.js
+++ b/public/static/js/autocomplete.js
@@ -1,3 +1,9 @@
+/*
+ * Copyright (C) 2020 DB Station&Service AG, Europaplatz 1, 10557 Berlin
+ * Copyright (C) 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: CC-BY-4.0
+ */
document.addEventListener('DOMContentLoaded', function() {
var elems = document.querySelectorAll('.autocomplete');
M.Autocomplete.init(elems, {
diff --git a/public/static/js/geolocation.js b/public/static/js/geolocation.js
index cb16e72..da589c8 100644
--- a/public/static/js/geolocation.js
+++ b/public/static/js/geolocation.js
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: MIT
+ */
$(document).ready(function() {
function getPlaceholder() {
return $('div.geolocation div.progress');
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js
index f42b491..b741e1e 100644
--- a/public/static/js/travelynx-actions.js
+++ b/public/static/js/travelynx-actions.js
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: MIT
+ */
var j_departure = 0;
var j_duration = 0;
var j_arrival = 0;