mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Make testing quieter
This commit is contained in:
parent
17be68f5d9
commit
e0a31feaec
@ -19,7 +19,7 @@ var funs = [];
|
||||
* @param style
|
||||
*/
|
||||
exports.addClass = function (id) {
|
||||
console.log('Adding: '+id);
|
||||
log.log('Adding: '+id);
|
||||
if(typeof classes.get(id) === 'undefined'){
|
||||
classes.set(id, {
|
||||
id:id,
|
||||
@ -46,7 +46,7 @@ module.exports.getRelations = function () {
|
||||
};
|
||||
|
||||
exports.addRelation = function (relation) {
|
||||
console.log('Adding relation: ' + JSON.stringify(relation));
|
||||
log.log('Adding relation: ' + JSON.stringify(relation));
|
||||
exports.addClass(relation.id1);
|
||||
exports.addClass(relation.id2);
|
||||
|
||||
@ -76,4 +76,4 @@ exports.relationType = {
|
||||
EXTENSION:1,
|
||||
COMPOSITION:2,
|
||||
DEPENDENCY:3
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user