mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-04 19:44:11 +01:00
Deleted unused method
This commit is contained in:
@@ -798,25 +798,6 @@ export const draw = function (text, id, version, diagObj) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param theSidePad
|
||||
* @param theTopPad
|
||||
* @param w
|
||||
* @param h
|
||||
*/
|
||||
function _drawDate(theSidePad, theTopPad, w, h) {
|
||||
const todayG = svg.append('g').attr('class', 'today');
|
||||
const today = new Date();
|
||||
const todayLine = todayG.append('line');
|
||||
|
||||
todayLine
|
||||
.attr('x1', timeScale(today) + theSidePad)
|
||||
.attr('x2', timeScale(today) + theSidePad)
|
||||
.attr('y1', conf.titleTopMargin)
|
||||
.attr('y2', h - conf.titleTopMargin)
|
||||
.attr('class', 'today');
|
||||
}
|
||||
|
||||
/**
|
||||
* From this stack exchange question:
|
||||
* http://stackoverflow.com/questions/1890203/unique-for-arrays-in-javascript
|
||||
|
||||
Reference in New Issue
Block a user