Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ class Drawer {
this.canvasWrapper.reset();

if (this.opts.debug) {
console.log(this.graph);
console.log(this.rings);
console.log(this.ringConnections);
console.debug("Drawer -> draw -> Graph:", this.graph);
console.debug("Drawer -> draw -> Rings:", this.rings);
console.debug("Drawer -> draw -> RingConnections", this.ringConnections);
}
}
}
Expand Down Expand Up @@ -3041,4 +3041,4 @@ class Drawer {
}
}

module.exports = Drawer;
module.exports = Drawer;
8 changes: 4 additions & 4 deletions src/SvgDrawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ class SvgDrawer {
this.drawVertices(preprocessor.opts.debug);

if (preprocessor.opts.debug) {
console.log(preprocessor.graph);
console.log(preprocessor.rings);
console.log(preprocessor.ringConnections);
console.debug("SvgDrawer -> draw -> Graph:", preprocessor.graph);
console.debug("SvgDrawer -> draw -> Rings:", preprocessor.rings);
console.debug("SvgDrawer -> draw -> RingConnections", preprocessor.ringConnections);
}

return this.svgWrapper.constructSvg();
Expand Down Expand Up @@ -336,4 +336,4 @@ class SvgDrawer {
}
}

module.exports = SvgDrawer;
module.exports = SvgDrawer;
4 changes: 2 additions & 2 deletions src/UtilityFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @returns {String} A string representing a charge.
*/
function getChargeText(charge) {
console.log('in the utility version of getChargeText');
// console.log('in the utility version of getChargeText');
if (charge === 1) {
return '+'
} else if (charge === 2) {
Expand All @@ -20,4 +20,4 @@ function getChargeText(charge) {

module.exports = {
getChargeText,
}
}