@@ -56,7 +56,7 @@ function useRuler(map, mode = AXES) {
5656            axisBottom ( x ) 
5757              . tickValues ( x . domain ( ) ) 
5858              . tickFormat ( ( d )  =>  `${ d }  ) 
59-               . tickSize ( TICK_SIZE ) 
59+               . tickSize ( TICK_SIZE ) , 
6060          ) 
6161          . call ( ( g )  =>  g . select ( '.domain' ) . remove ( ) ) 
6262
@@ -74,7 +74,7 @@ function useRuler(map, mode = AXES) {
7474            axisLeft ( y ) 
7575              . tickValues ( y . domain ( ) ) 
7676              . tickFormat ( ( d )  =>  `${ d }  ) 
77-               . tickSize ( TICK_SIZE ) 
77+               . tickSize ( TICK_SIZE ) , 
7878          ) 
7979          . call ( ( g )  =>  g . select ( '.domain' ) . remove ( ) ) 
8080
@@ -105,10 +105,10 @@ function useRuler(map, mode = AXES) {
105105                            . attr ( 'y1' ,  xTickHeight  +  TICK_MARGIN ) 
106106                            . attr ( 'y2' ,  height ) , 
107107                        ( update )  =>  update , 
108-                         ( exit )  =>  exit . remove ( ) 
108+                         ( exit )  =>  exit . remove ( ) , 
109109                      ) 
110110                      . attr ( 'x1' ,  ( d )  =>  0.5  +  x ( d ) ) 
111-                       . attr ( 'x2' ,  ( d )  =>  0.5  +  x ( d ) ) 
111+                       . attr ( 'x2' ,  ( d )  =>  0.5  +  x ( d ) ) , 
112112                  ) 
113113                  . call ( ( g )  => 
114114                    g 
@@ -117,7 +117,7 @@ function useRuler(map, mode = AXES) {
117117                      . join ( 
118118                        ( enter )  =>  enter . append ( 'line' ) . classed ( 'y' ,  true ) , 
119119                        ( update )  =>  update , 
120-                         ( exit )  =>  exit . remove ( ) 
120+                         ( exit )  =>  exit . remove ( ) , 
121121                      ) 
122122                      . attr ( 'y1' ,  ( d )  =>  0.5  +  y ( d ) ) 
123123                      . attr ( 'y2' ,  ( d )  =>  0.5  +  y ( d ) ) 
@@ -126,7 +126,7 @@ function useRuler(map, mode = AXES) {
126126                          ? yTickNodes [ i ] . getBoundingClientRect ( ) . width 
127127                          : 0 
128128                        return  width  -  yTickWidth  -  TICK_MARGIN 
129-                       } ) 
129+                       } ) , 
130130                  ) 
131131              } , 
132132            } 
0 commit comments