File tree Expand file tree Collapse file tree 5 files changed +18
-19
lines changed Expand file tree Collapse file tree 5 files changed +18
-19
lines changed Original file line number Diff line number Diff line change 1313 "start" : " node build" ,
1414 "check" : " node scripts/update.js && pnpm generate && svelte-kit sync && svelte-check" ,
1515 "check:watch" : " svelte-kit sync && svelte-check --watch" ,
16- "format" : " pnpm run check:format -- --write" ,
16+ "format" : " prettier -- check . --ignore-path .gitignore --plugin-search-dir=. --write" ,
1717 "check:format" : " prettier --check . --ignore-path .gitignore --plugin-search-dir=."
1818 },
1919 "dependencies" : {
Original file line number Diff line number Diff line change @@ -47,16 +47,14 @@ export async function read(sessionid) {
4747 if ( ! session_cache . get ( sessionid ) ) {
4848 session_cache . set (
4949 sessionid ,
50- await client
51- . rpc ( 'get_user' , { sessionid } )
52- . then ( ( { data, error } ) => {
53- if ( error ) {
54- session_cache . set ( sessionid , null ) ;
55- throw new Error ( error . message ) ;
56- }
50+ await client . rpc ( 'get_user' , { sessionid } ) . then ( ( { data, error } ) => {
51+ if ( error ) {
52+ session_cache . set ( sessionid , null ) ;
53+ throw new Error ( error . message ) ;
54+ }
5755
58- return data . id && data ;
59- } )
56+ return data . id && data ;
57+ } )
6058 ) ;
6159 }
6260
Original file line number Diff line number Diff line change 1111
1212<div class =" hero" >
1313 <div class =" hero-content" >
14- <img alt ="Svelte logotype" class ="logotype" src ={SvelteLogotype } />
14+ <img alt ="Svelte logotype" class ="logotype" src ={SvelteLogotype } width = " 300 " height = " 56 " />
1515 <strong >
16- <span style =" white-space: nowrap; " >Cybernetically enhanced</span > <br /> web apps
16+ <span style =" white-space: nowrap" >Cybernetically enhanced</span > <br /> web apps
1717 </strong >
1818 <div class =" buttons" >
1919 <a href =" https://learn.svelte.dev" rel =" external" class =" cta" >
114114
115115 .logotype {
116116 width : min (45vw , 40em );
117+ height : auto ;
117118 }
118119
119120 @media (min-width : 800px ) {
Original file line number Diff line number Diff line change 55 </script >
66
77<Section --background =" var(--sk-back-2" >
8- <p class =" intro" >
9- Svelte is made possible by the work of hundreds of supporters.
10- </p >
8+ <p class =" intro" >Svelte is made possible by the work of hundreds of supporters.</p >
119
1210 <div class =" layout" >
1311 <div class =" contributors blurb" >
Original file line number Diff line number Diff line change 1414 href =" https://survey.stackoverflow.co/2023/#section-admired-and-desired-web-frameworks-and-technologies"
1515 >most admired JS web framework</a
1616 >
17- in one industry survey while drawing the most interest in learning it in <a
18- href =" https://tsh.io/state-of-frontend/#which-of-the-following-frameworks-would-you-like-to-learn-in-the-future"
19- >two</a > <a href =" https://2022.stateofjs.com/en-US/libraries/front-end-frameworks/"
20- >others</a >. We think you'll love it too.
17+ in one industry survey while drawing the most interest in learning it in
18+ <a
19+ href =" https://tsh.io/state-of-frontend/#which-of-the-following-frameworks-would-you-like-to-learn-in-the-future"
20+ >two</a
21+ > <a href =" https://2022.stateofjs.com/en-US/libraries/front-end-frameworks/" >others</a >. We
22+ think you'll love it too.
2123 </p >
2224
2325 <section class ="whos-using-svelte-container" class:dark ={$theme .current === ' dark' }>
You can’t perform that action at this time.
0 commit comments