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) {
99 let y = ( ) => 'test' ;
1010 var fragment = root ( ) ;
1111 var div = $ . first_child ( fragment ) ;
12+
13+ $ . set_attribute ( div , 'foobar' , x ) ;
14+
1215 var svg = $ . sibling ( div , 2 ) ;
16+
17+ $ . set_attribute ( svg , 'viewBox' , x ) ;
18+
1319 var custom_element = $ . sibling ( svg , 2 ) ;
1420
15- $ . template_effect ( ( ) => $ . set_custom_element_data ( custom_element , 'fooBar' , x ) ) ;
21+ $ . set_custom_element_data ( custom_element , 'fooBar' , x ) ;
1622
1723 var div_1 = $ . sibling ( custom_element , 2 ) ;
1824 var svg_1 = $ . sibling ( div_1 , 2 ) ;
@@ -22,8 +28,6 @@ export default function Main($$anchor) {
2228
2329 $ . template_effect (
2430 ( $0 , $1 ) => {
25- $ . set_attribute ( div , 'foobar' , x ) ;
26- $ . set_attribute ( svg , 'viewBox' , x ) ;
2731 $ . set_attribute ( div_1 , 'foobar' , $0 ) ;
2832 $ . set_attribute ( svg_1 , 'viewBox' , $1 ) ;
2933 } ,
You can’t perform that action at this time.
0 commit comments