This repository was archived by the owner on Nov 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,16 @@ root = true
7
7
indent_style = space
8
8
indent_size = 2
9
9
10
+ # 4 space indentation
11
+ [* .ts ]
12
+ indent_style = space
13
+ indent_size = 4
14
+
10
15
# We recommend you to keep these unchanged
11
16
end_of_line = lf
12
17
charset = utf-8
13
18
trim_trailing_whitespace = true
14
19
insert_final_newline = true
15
20
16
21
[* .md ]
17
- trim_trailing_whitespace = false
22
+ trim_trailing_whitespace = false
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ <h2>Creating SVG Elements Based on Data</h2>
10
10
11
11
< div padding >
12
12
13
- < div id ="circles "> </ div >
13
+ < div id ="circles-basic "> </ div >
14
14
15
15
< expandable showText ="See the code " hideText ="Hide the code ">
16
16
< textarea ion-prism ="javascript ">
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class BasicElementsPage {
24
24
let circleRadii = [ 40 , 20 , 10 ] ;
25
25
26
26
// an SVG element to hold the SVG Circles
27
- let svgContainer = d3 . select ( '#circles' ) . append ( 'svg' )
27
+ let svgContainer = d3 . select ( '#circles-basic ' ) . append ( 'svg' )
28
28
. attr ( 'width' , 300 )
29
29
. attr ( 'height' , 100 )
30
30
. style ( 'border' , '1px solid black' ) ;
You can’t perform that action at this time.
0 commit comments