Skip to content

Commit

Permalink
Get rid of debugging print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
carterjbastian committed Mar 8, 2017
1 parent 253478a commit d7cd315
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
9 changes: 0 additions & 9 deletions app/components/Diagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export default class Diagram extends Component {
// If not currently connection, start connecting
if (this.state.setConnectionPoint == null ||
!this.state.isConnecting) {
console.log("Setting connection mode with starter point %s\n", component.props.id);
this.setState({
circles: this.state.circles,
squares: this.state.squares,
Expand Down Expand Up @@ -76,9 +75,6 @@ export default class Diagram extends Component {
path: pathString,
});

console.log("Updated Connections:\n");
console.log(updatedConnections);

this.setState({
circles: this.state.circles,
squares: this.state.squares,
Expand Down Expand Up @@ -129,9 +125,6 @@ export default class Diagram extends Component {
}
topLeftY = snappedY + 5;

console.log(topLeftX);
console.log(topLeftY);

// Add a new Rectangle
if (this.props.shape == 'Rect') {
// Center the square
Expand Down Expand Up @@ -217,8 +210,6 @@ export default class Diagram extends Component {
connections: this.state.connections,
});
}

console.log(this.state);
};


Expand Down
4 changes: 0 additions & 4 deletions app/containers/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ export default class App extends Component {
// Handle ShapeOption Click
onShapeOptionClick(component, e) {
// Set the state of the app based on the option click
console.log("Before: Shape: %s, Size: %s\n", this.state.shape, this.state.size);

// Check for various known options

switch(component.props.option) {
// Two cases for shapes
case 'Rect':
Expand Down

0 comments on commit d7cd315

Please sign in to comment.