Remove parseError properties

This commit is contained in:
Tyler Long
2017-09-10 10:19:15 +08:00
parent 167368d508
commit bdf9b33b10
8 changed files with 6 additions and 46 deletions

View File

@@ -400,7 +400,3 @@ exports.indexNodes = function () {
exports.getSubGraphs = function () {
return subGraphs
}
exports.parseError = function (err, hash) {
global.mermaidAPI.parseError(err, hash)
}

View File

@@ -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 () {