File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,9 @@ class Drawer {
173173 this . canvasWrapper . reset ( ) ;
174174
175175 if ( this . opts . debug ) {
176- console . log ( this . graph ) ;
177- console . log ( this . rings ) ;
178- console . log ( this . ringConnections ) ;
176+ console . debug ( "Drawer -> draw -> Graph:" , this . graph ) ;
177+ console . debug ( "Drawer -> draw -> Rings:" , this . rings ) ;
178+ console . debug ( "Drawer -> draw -> RingConnections" , this . ringConnections ) ;
179179 }
180180 }
181181 }
@@ -3041,4 +3041,4 @@ class Drawer {
30413041 }
30423042}
30433043
3044- module . exports = Drawer ;
3044+ module . exports = Drawer ;
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ class SvgDrawer {
4444 this . drawVertices ( preprocessor . opts . debug ) ;
4545
4646 if ( preprocessor . opts . debug ) {
47- console . log ( preprocessor . graph ) ;
48- console . log ( preprocessor . rings ) ;
49- console . log ( preprocessor . ringConnections ) ;
47+ console . debug ( "SvgDrawer -> draw -> Graph:" , preprocessor . graph ) ;
48+ console . debug ( "SvgDrawer -> draw -> Rings:" , preprocessor . rings ) ;
49+ console . debug ( "SvgDrawer -> draw -> RingConnections" , preprocessor . ringConnections ) ;
5050 }
5151
5252 return this . svgWrapper . constructSvg ( ) ;
@@ -336,4 +336,4 @@ class SvgDrawer {
336336 }
337337}
338338
339- module . exports = SvgDrawer ;
339+ module . exports = SvgDrawer ;
Original file line number Diff line number Diff line change 44 * @returns {String } A string representing a charge.
55 */
66function getChargeText ( charge ) {
7- console . log ( 'in the utility version of getChargeText' ) ;
7+ // console.log('in the utility version of getChargeText');
88 if ( charge === 1 ) {
99 return '+'
1010 } else if ( charge === 2 ) {
@@ -20,4 +20,4 @@ function getChargeText(charge) {
2020
2121module . exports = {
2222 getChargeText,
23- }
23+ }
You can’t perform that action at this time.
0 commit comments