File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
const { PI , sqrt } = Math ;
4
- const square = x => x * x ;
4
+ const square = ( x ) => x * x ;
5
5
6
6
// Truncated cone calculations
7
7
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
const { PI , sqrt } = Math ;
4
- const square = x => x * x ;
4
+ const square = ( x ) => x * x ;
5
5
6
6
// Reactive Truncated cone
7
7
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ const variables = {
12
12
count : 0 ,
13
13
} ;
14
14
15
- ee . on ( 'city' , city => {
15
+ ee . on ( 'city' , ( city ) => {
16
16
variables . count ++ ;
17
17
variables . maxDensity = max ( variables . maxDensity , city . density ) ;
18
18
cities . push ( city ) ;
19
- cities . forEach ( city => {
19
+ cities . forEach ( ( city ) => {
20
20
city . relative = Math . round ( city . density * 100 / variables . maxDensity ) ;
21
21
} ) ;
22
22
console . table ( variables ) ;
You can’t perform that action at this time.
0 commit comments