mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
Standard fixes
This commit is contained in:
@@ -1631,7 +1631,7 @@ describe('when parsing ', function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('it should be able to parse a \'=\'', function () {
|
it('it should be able to parse a \'=\'', function () {
|
||||||
charTest('=')
|
charTest('=','=')
|
||||||
})
|
})
|
||||||
it('it should be able to parse a \'&\'', function () {
|
it('it should be able to parse a \'&\'', function () {
|
||||||
charTest('&')
|
charTest('&')
|
||||||
|
@@ -504,7 +504,6 @@ const pushFun = function (id, callbackFunction) {
|
|||||||
// const elem = d3.select(element).select(`[id="${id}-text"]`)
|
// const elem = d3.select(element).select(`[id="${id}-text"]`)
|
||||||
const elem = document.querySelector(`[id="${id}-text"]`)
|
const elem = document.querySelector(`[id="${id}-text"]`)
|
||||||
if (elem !== null) {
|
if (elem !== null) {
|
||||||
|
|
||||||
elem.addEventListener('click', function () {
|
elem.addEventListener('click', function () {
|
||||||
callbackFunction()
|
callbackFunction()
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user