Skip to content

Commit

Permalink
#918 Removed som logging
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Sep 1, 2019
1 parent 699bd61 commit 5610185
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/diagrams/flowchart/flowDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const sanitize = text => {
* @param classes
*/
export const addVertex = function (_id, text, type, style, classes) {
console.log('called with',_id);
let txt
let id = _id
if (typeof id === 'undefined') {
Expand Down
6 changes: 3 additions & 3 deletions src/diagrams/flowchart/parser/flow.jison
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"BT" return 'DIR';
"TD" return 'DIR';
"BR" return 'DIR';
[0-9]+ { console.log('got NUM'); return 'NUM';}
[0-9]+ { return 'NUM';}
\# return 'BRKT';
":::" return 'STYLE_SEPARATOR';
":" return 'COLON';
Expand Down Expand Up @@ -280,11 +280,11 @@ separator: NEWLINE | SEMI | EOF ;
// ;

verticeStatement: verticeStatement link node { yy.addLink($1[0],$3[0],$2); $$ = $3.concat($1) }
|node { console.log('A node', $1);$$ = $1 }
|node { $$ = $1 }
;

node: vertex
{ console.log('A vertex', $1);$$ = [$1];}
{ $$ = [$1];}
| vertex STYLE_SEPARATOR idString
{$$ = [$1];yy.setClass($1,$3)}
;
Expand Down

0 comments on commit 5610185

Please sign in to comment.