mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 00:40:22 +02:00
Remove parseError properties
This commit is contained in:
@@ -400,7 +400,3 @@ exports.indexNodes = function () {
|
||||
exports.getSubGraphs = function () {
|
||||
return subGraphs
|
||||
}
|
||||
|
||||
exports.parseError = function (err, hash) {
|
||||
global.mermaidAPI.parseError(err, hash)
|
||||
}
|
||||
|
@@ -9,9 +9,6 @@ describe('when parsing ', function () {
|
||||
beforeEach(function () {
|
||||
flow.parser.yy = require('../graphDb')
|
||||
flow.parser.yy.clear()
|
||||
/* flow.parser.parse.parseError= function parseError(str, hash) {
|
||||
log.debugconsole.log(str);
|
||||
} */
|
||||
})
|
||||
|
||||
it('should handle a nodes and edges', function () {
|
||||
|
Reference in New Issue
Block a user