Added href support and improved callback argument handling

This commit is contained in:
abzicht
2019-03-09 12:11:56 +01:00
parent 67ee649d99
commit 0c66e1b5b9
2 changed files with 26 additions and 11 deletions

View File

@@ -294,8 +294,8 @@ export const addTask = function (descr, data) {
data: data
},
task: descr,
link: undefined,
/* The link the rectangle will href to */
link: undefined,
classes: []
}
const taskInfo = parseData(lastTaskID, data)
@@ -325,8 +325,8 @@ export const addTaskOrg = function (descr, data) {
type: currentSection,
description: descr,
task: descr,
link: undefined,
/* The link the rectangle will href to */
link: undefined,
classes: []
}
const taskInfo = compileData(lastTask, data)