STARK-web/static/js/annodoc/annodoc.js

34 lines
1.1 KiB
JavaScript
Raw Permalink Normal View History

2024-11-17 18:48:06 +00:00
var root = "/stark/static/js/annodoc/";
var webFontURLs = [
root + 'fonts/PT_Sans-Caption-Web-Regular.ttf',
root + 'fonts/Liberation_Sans-Regular.ttf'
];
head.js(
root + "js/ext/jquery.min.js",
root + "js/ext/jquery.svg.min.js",
root + "js/ext/jquery.svgdom.min.js",
root + "js/ext/jquery-ui.min.js",
root + "js/ext/waypoints.min.js",
root + "js/ext/webfont.js",
root + "js/ext/conllu.js/conllu.js",
root + "js/brat/configuration.js",
root + "js/brat/util.js",
root + "js/brat/annotation_log.js",
root + "js/brat/dispatcher.js",
root + "js/brat/url_monitor.js",
root + "js/brat/visualizer.js",
root + "js/local/annodoc.js",
root + "js/local/collections.js",
root + "js/local/config.js",
);
head.ready(function() {
// mark current collection (filled in by Jekyll)
Collections.listing['_current'] = ';'
// performs all embedding and support functions
console.log("Activating Annodoc");
Annodoc.activate(Config.bratCollData, Collections.listing);
console.log("Done activating Annodoc");
});