@@ -122,11 +122,17 @@ <h2>Spacing</h2>
122122 < script >
123123 const borderWidths = [ 0 , 25 , 50 , 75 , 100 , 150 , 200 , 250 , 300 , 350 , 400 ] ;
124124 const radii = [ 0 , 25 , 100 , 200 , 300 , 400 , 500 , 800 , 1000 , 'full' ] ;
125- const scales = [ 0 , 25 , 50 , 75 , 100 , 150 , 200 , 250 , 300 , 350 , 400 , 450 , 500 , 550 , 600 , 650 , 700 , 750 , 800 , 850 , 900 , 950 , 1000 , 1050 , 1100 , 1150 , 1200 , 1400 , 1600 , 1800 , 2000 , 2400 , 2800 , 3200 , 3400 , 3600 , 4000 ] ;
126- const spaces = [ 0 , 50 , 100 , 150 , 200 , 250 , 300 , 350 , 400 , 450 , 500 , 550 , 600 , 650 , 700 , 750 , 800 , 850 , 900 , 950 , 1000 , 1050 , 1100 , 1150 , 1200 ] ;
125+ const scales = [
126+ 0 , 25 , 50 , 75 , 100 , 150 , 200 , 250 , 300 , 350 , 400 , 450 , 500 , 550 , 600 , 650 , 700 , 750 , 800 , 850 , 900 , 950 , 1000 ,
127+ 1050 , 1100 , 1150 , 1200 , 1400 , 1600 , 1800 , 2000 , 2400 , 2800 , 3200 , 3400 , 3600 , 4000 ,
128+ ] ;
129+ const spaces = [
130+ 0 , 50 , 100 , 150 , 200 , 250 , 300 , 350 , 400 , 450 , 500 , 550 , 600 , 650 , 700 , 750 , 800 , 850 , 900 , 950 , 1000 , 1050 ,
131+ 1100 , 1150 , 1200 ,
132+ ] ;
127133
128134 // Generate the border width elements
129- borderWidths . forEach ( borderWidth => {
135+ borderWidths . forEach ( ( borderWidth ) => {
130136 const borderWidthEl = document . createElement ( 'div' ) ;
131137 borderWidthEl . className = `ion-border-width` ;
132138 borderWidthEl . innerHTML = `${ borderWidth } ` ;
@@ -135,7 +141,7 @@ <h2>Spacing</h2>
135141 } ) ;
136142
137143 // Generate the radii elements
138- radii . forEach ( radius => {
144+ radii . forEach ( ( radius ) => {
139145 const radiusEl = document . createElement ( 'div' ) ;
140146 radiusEl . className = `ion-radius` ;
141147 radiusEl . innerHTML = `${ radius } ` ;
@@ -144,15 +150,15 @@ <h2>Spacing</h2>
144150 } ) ;
145151
146152 // Generate the scale elements
147- scales . forEach ( scale => {
153+ scales . forEach ( ( scale ) => {
148154 const scaleEl = document . createElement ( 'div' ) ;
149155 scaleEl . className = `ion-scale` ;
150156 document . querySelector ( '.ion-scales' ) . appendChild ( scaleEl ) ;
151157 scaleEl . style . height = `var(--ion-scaling-${ scale } )` ;
152158 } ) ;
153159
154160 // Generate the space elements
155- spaces . forEach ( space => {
161+ spaces . forEach ( ( space ) => {
156162 const spaceEl = document . createElement ( 'div' ) ;
157163 spaceEl . className = `ion-space` ;
158164 const spaceInnerEl = document . createElement ( 'div' ) ;
0 commit comments