Backend for songs.zachdecook.com
* Javascript: Start tagging this as free so libreJS picks it up
Zach DeCook 2019-12-19
parent 1303382 · commit 1fafc50
m---------chordsdata0
-rw-r--r--laravel/resources/js/jsonly.js2
-rw-r--r--laravel/resources/js/page.js2
-rw-r--r--laravel/resources/js/toc-filter.js4
4 files changed, 7 insertions, 1 deletions
diff --git a/chordsdata b/chordsdata
-Subproject 036a357e86fbe478504a731310d8e6c8fb2d2ad
+Subproject 0fdbc6604dd6dc4ea84e72f7670de35b55c1066
diff --git a/laravel/resources/js/jsonly.js b/laravel/resources/js/jsonly.js
index 4f5d6c8..1472a09 100644
--- a/laravel/resources/js/jsonly.js
+++ b/laravel/resources/js/jsonly.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt
/**
* @brief jsonly.js contains the functions that are only called in js,
* not translated from server-side code.
@@ -151,3 +152,4 @@ function cycle(obj){
tab = obj.dict[obj.chordd][obj.number]
ChordCharter.drawChord( obj.region, 30, 25, obj.chord +"("+obj.number + ")", tab );
}
+// @license-end
diff --git a/laravel/resources/js/page.js b/laravel/resources/js/page.js
index b7a89f7..f265b0c 100644
--- a/laravel/resources/js/page.js
+++ b/laravel/resources/js/page.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt
/**
* @brief page.js tries to improve pageload speeds
* by processing client-side.
@@ -110,3 +111,4 @@ function transpadd( fromkey, integer )
var val = ochords[(parseInt(chords[fromkey]) + integer + 24)%12];
return val;
}
+// @license-end
diff --git a/laravel/resources/js/toc-filter.js b/laravel/resources/js/toc-filter.js
index 08afa2d..4db7641 100644
--- a/laravel/resources/js/toc-filter.js
+++ b/laravel/resources/js/toc-filter.js
@@ -1,3 +1,4 @@
+// @license magnet:?xt=urn:btih:b8999bbaf509c08d127678643c515b9ab0836bae&dn=ISC.txt
$(function(){
$("#toc-filter").bind("change paste keyup", toc_filter);
});
@@ -15,4 +16,5 @@ function toc_filter( event )
$(this).show();
}
});
-} \ No newline at end of file
+}
+// @license-end