Browse Source

Update Network.js

Missed "apply" call on DOMtoCanvas call
flowchartTest
Steve 9 years ago
parent
commit
789c591301
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lib/network/Network.js

+ 2
- 2
lib/network/Network.js View File

@ -425,7 +425,7 @@ Network.prototype.isActive = function () {
Network.prototype.setSize = function() {return this.canvas.setSize.apply(this.canvas,arguments);};
Network.prototype.canvasToDOM = function() {return this.canvas.canvasToDOM.apply(this.canvas,arguments);};
Network.prototype.DOMtoCanvas = function() {return this.canvas.DOMtoCanvas(this.canvas,arguments);};
Network.prototype.DOMtoCanvas = function() {return this.canvas.DOMtoCanvas.apply(this.canvas,arguments);};
Network.prototype.findNode = function() {return this.clustering.findNode.apply(this.clustering,arguments);};
Network.prototype.isCluster = function() {return this.clustering.isCluster.apply(this.clustering,arguments);};
Network.prototype.openCluster = function() {return this.clustering.openCluster.apply(this.clustering,arguments);};
@ -493,4 +493,4 @@ Network.prototype.getOptionsFromConfigurator = function() {
return options;
};
module.exports = Network;
module.exports = Network;

Loading…
Cancel
Save