Skip to content
Snippets Groups Projects
Commit 81a4a21f authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

ENH: first description of module

parent c8dcc549
No related branches found
No related tags found
No related merge requests found
/*
* ** header with license infoc
* ...
*/
'use strict';
/**
* description of the module ...
*
* @module ext_flight_preview
* @version 0.1
*
* @requires somelibrary
* (pass the dependencies as arguments)
*/
var ext_flight_preview = function (somelibrary) {
var init = function (toolbox) {
/* initialization of the module */
}
/**
* doc string
*/
var some_function = function (arg1, arg2) {
}
/* the main function must return the initialization of the module */
return {
init: init,
};
//pass the dependencies as arguments here as well
}(somelibrary);
// this will be replaced by require.js in the future.
$(document).ready(function() {
// use a variable starting with `BUILD_MODULE_` to enable your module
// the build variable has to be enabled in the `build.properties.d/` directory.
// Otherwise the module will not be activated.
if ("${BUILD_MODULE_EXT_BOTTOM_LINE}" === "ENABLED") {
caosdb_modules.register(ext_flight_preview);
}
});
// -------------------------
function runCorrAnalysis(entity_id) {
console.log(entity_id);
......@@ -13,3 +61,6 @@ for (ent of ents) {
$(ent).find(".caosdb-v-entity-header-buttons-list").prepend(button);
}
}
// load configuration for data analysis module
var config = await load_config("data_analysis.json");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment