Skip to content

Commit

Permalink
Removes instances attached to window object + bumps version in packag…
Browse files Browse the repository at this point in the history
…e.json
  • Loading branch information
ajainarayanan committed Jul 2, 2017
1 parent e9c98df commit c0e9731
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion dag.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export default class DAG extends Component {
let container = document.querySelector(`#${this.state.componentId} #dag-container`);
jsPlumb.setContainer(container);
this.instance = jsPlumb.getInstance(dagSettings);
window.plumbInstance = this.instance;
this.instance.bind('connection', this.makeConnections.bind(this));
this.instance.bind('connectionDetached', this.makeConnections.bind(this));
});
Expand Down
Loading

0 comments on commit c0e9731

Please sign in to comment.