File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
packages/svelte/tests/snapshot/samples/dynamic-attributes-casing/_expected/client Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,16 @@ export default function Main($$anchor) {
9
9
let y = ( ) => 'test' ;
10
10
var fragment = root ( ) ;
11
11
var div = $ . first_child ( fragment ) ;
12
+
13
+ $ . set_attribute ( div , 'foobar' , x ) ;
14
+
12
15
var svg = $ . sibling ( div , 2 ) ;
16
+
17
+ $ . set_attribute ( svg , 'viewBox' , x ) ;
18
+
13
19
var custom_element = $ . sibling ( svg , 2 ) ;
14
20
15
- $ . template_effect ( ( ) => $ . set_custom_element_data ( custom_element , 'fooBar' , x ) ) ;
21
+ $ . set_custom_element_data ( custom_element , 'fooBar' , x ) ;
16
22
17
23
var div_1 = $ . sibling ( custom_element , 2 ) ;
18
24
var svg_1 = $ . sibling ( div_1 , 2 ) ;
@@ -22,8 +28,6 @@ export default function Main($$anchor) {
22
28
23
29
$ . template_effect (
24
30
( $0 , $1 ) => {
25
- $ . set_attribute ( div , 'foobar' , x ) ;
26
- $ . set_attribute ( svg , 'viewBox' , x ) ;
27
31
$ . set_attribute ( div_1 , 'foobar' , $0 ) ;
28
32
$ . set_attribute ( svg_1 , 'viewBox' , $1 ) ;
29
33
} ,
You can’t perform that action at this time.
0 commit comments