mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-01 19:34:17 +01:00
Deleted "special" tag residue
This commit is contained in:
@@ -33,7 +33,7 @@ let sections = [];
|
||||
let tasks = [];
|
||||
let currentSection = '';
|
||||
let displayMode = '';
|
||||
const tags = ['active', 'done', 'crit', 'milestone', 'vert', 'special'];
|
||||
const tags = ['active', 'done', 'crit', 'milestone', 'vert'];
|
||||
let funs = [];
|
||||
let inclusiveEndDates = false;
|
||||
let topAxis = false;
|
||||
@@ -422,7 +422,7 @@ const compileData = function (prevTask, dataStr) {
|
||||
|
||||
const task = {};
|
||||
|
||||
// Get tags like active, done, crit, milestone, and special
|
||||
// Get tags like active, done, crit, milestone, and vert
|
||||
getTaskTags(data, task, tags);
|
||||
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
@@ -470,7 +470,7 @@ const parseData = function (prevTaskId, dataStr) {
|
||||
|
||||
const task = {};
|
||||
|
||||
// Get tags like active, done, crit, milestone, and special
|
||||
// Get tags like active, done, crit, milestone, and vert
|
||||
getTaskTags(data, task, tags);
|
||||
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
@@ -538,7 +538,6 @@ export const addTask = function (descr, data) {
|
||||
rawTask.done = taskInfo.done;
|
||||
rawTask.crit = taskInfo.crit;
|
||||
rawTask.milestone = taskInfo.milestone;
|
||||
rawTask.special = taskInfo.special;
|
||||
rawTask.vert = taskInfo.vert;
|
||||
rawTask.order = lastOrder;
|
||||
|
||||
@@ -572,7 +571,6 @@ export const addTaskOrg = function (descr, data) {
|
||||
newTask.done = taskInfo.done;
|
||||
newTask.crit = taskInfo.crit;
|
||||
newTask.milestone = taskInfo.milestone;
|
||||
newTask.special = taskInfo.special;
|
||||
newTask.vert = taskInfo.vert;
|
||||
lastTask = newTask;
|
||||
tasks.push(newTask);
|
||||
|
||||
Reference in New Issue
Block a user