Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export async function setSelectConfiguration(
- filenameJson: string, storeData: (str: string) => void, element: JQuery,
- listenerFunction:(e: JQueryEventObject) => void) {
- await d3.json("filename2.json", function(error, data) {
- if(error) {
- console.log(error);
- } else {
- console.log(data);
- storeData(data.toString())
- }
- });
- element.on("change", listenerFunction);
- }
- {
- "files": [
- {
- "name": "time_sensitive_test.json",
- "type": "user",
- "owner": "Master",
- "data_type": "linear data",
- "description": "Utenti master (Enrica) periodo 20/05/2014-16/10/2014",
- "ids_description": "accesso risorse",
- "ods_description": "chat/forum",
- "bds_description": "login/logout"
- }
- ]}
Add Comment
Please, Sign In to add comment