Skip to content

Commit fb84d75

Browse files
author
undefined
committed
remove console.logs
1 parent e33e266 commit fb84d75

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/canvas-view/canvas-editor/canvas-editor.component.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
var ctrl = this;
1616

1717
ctrl.$onInit = function () {
18-
console.log('canvas editor oninit');
1918
ctrl.newNodeCount = 0;
2019
ctrl.prevClickedOnChart = undefined;
2120
ctrl.prevInConnectingMode = undefined;

src/canvas-view/canvas/canvas-viewmodel.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ var pfCanvas = {};
4949
// Compute the position of a connector in the graph.
5050
//
5151
pfCanvas.computeConnectorPos = function(node, connectorIndex, inputConnector) {
52-
console.log('d');
5352
return {
5453
x: node.x() + (inputConnector ? 0 : node.width ? node.width() : pfCanvas.defaultNodeWidth),
5554
y: node.y() + pfCanvas.computeConnectorY(connectorIndex)
@@ -158,7 +157,6 @@ var pfCanvas = {};
158157
//
159158
pfCanvas.NodeViewModel = function(nodeDataModel) {
160159
this.data = nodeDataModel;
161-
console.log('new node data', nodeDataModel.data);
162160

163161
// set the default width value of the node
164162
if (!this.data.width || this.data.width < 0) {
@@ -463,7 +461,6 @@ var pfCanvas = {};
463461
};
464462

465463
this.sourceCoordX = function() {
466-
console.log('a');
467464
return this.source.parentNode().x() + this.source.x();
468465
};
469466

@@ -487,7 +484,6 @@ var pfCanvas = {};
487484
};
488485

489486
this.destCoordX = function() {
490-
console.log('b', this.dest.parentNode().x(), this.dest.x());
491487
return this.dest.parentNode().x() + this.dest.x();
492488
};
493489

@@ -1014,7 +1010,6 @@ var pfCanvas = {};
10141010

10151011
for (var i = 0; i < this.nodes.length; ++i) {
10161012
var node = this.nodes[i];
1017-
console.log('c');
10181013
if (node.x() >= selectionRect.x
10191014
&& node.y() >= selectionRect.y
10201015
&& node.x() + node.width() <= selectionRect.x + selectionRect.width

0 commit comments

Comments
 (0)