summaryrefslogtreecommitdiff
path: root/data/script.js
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-03-12 14:15:57 +0100
committerLars-Dominik Braun <lars@6xq.net>2018-03-12 14:17:28 +0100
commit9c921f99adbd4637b21507e15c93a06c4909898a (patch)
treec9f21985b3e6f6e5ca7fbf45432d594e922e2303 /data/script.js
parent658b5e01c9f792be73fd984664da923d3e5ce38d (diff)
downloadcomatose-9c921f99adbd4637b21507e15c93a06c4909898a.tar.gz
comatose-9c921f99adbd4637b21507e15c93a06c4909898a.tar.bz2
comatose-9c921f99adbd4637b21507e15c93a06c4909898a.zip
Prepare for publication
Add a few more protocols, process BibTeX files with biber, copy&paste whitepaper, add proper license.
Diffstat (limited to 'data/script.js')
-rw-r--r--data/script.js26
1 files changed, 24 insertions, 2 deletions
diff --git a/data/script.js b/data/script.js
index 5bf4480..6516928 100644
--- a/data/script.js
+++ b/data/script.js
@@ -1,3 +1,25 @@
+/*
+Copyright 2015–2018 comatose contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
$(document).ready (function () {
var protocache = {};
@@ -103,9 +125,9 @@ $(document).ready (function () {
var p3 = Bokeh.Charts.bar (yearHistData, {
axis_number_format: "0.[00]a",
- orientation: "vertical"
+ orientation: "vertical",
});
- plt.show (p3, document.getElementById ('pubHistogram'));
+ plt.show (p3, document.querySelector ('#pubHistogram div'));
});