Skip to content

Commit

Permalink
Beta fix for binding of click events when using the render function a…
Browse files Browse the repository at this point in the history
…s discussed in issue #188. (Try num 2)
  • Loading branch information
knsv committed Jul 17, 2015
1 parent 71d4113 commit 1b7ad1f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/mermaid.js
Original file line number Diff line number Diff line change
Expand Up @@ -32203,7 +32203,7 @@ var render = function(id, txt, cb, container){
}

if(typeof cb !== 'undefined'){
cb(d3.select('#d'+id).node().innerHTML);
cb(d3.select('#d'+id).node().innerHTML,graph.bindFunctions);
}else{

log.warn('CB = undefined');
Expand Down
2 changes: 1 addition & 1 deletion dist/mermaid.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mermaid.slim.js
Original file line number Diff line number Diff line change
Expand Up @@ -22987,7 +22987,7 @@ var render = function(id, txt, cb, container){
}

if(typeof cb !== 'undefined'){
cb(d3.select('#d'+id).node().innerHTML);
cb(d3.select('#d'+id).node().innerHTML,graph.bindFunctions);
}else{

log.warn('CB = undefined');
Expand Down
2 changes: 1 addition & 1 deletion dist/mermaid.slim.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mermaidAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -31523,7 +31523,7 @@ var render = function(id, txt, cb, container){
}

if(typeof cb !== 'undefined'){
cb(d3.select('#d'+id).node().innerHTML);
cb(d3.select('#d'+id).node().innerHTML,graph.bindFunctions);
}else{

log.warn('CB = undefined');
Expand Down
4 changes: 2 additions & 2 deletions dist/mermaidAPI.slim.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mermaidAPI.slim.min.js

Large diffs are not rendered by default.

0 comments on commit 1b7ad1f

Please sign in to comment.