Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-socio-fiscal-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
6d593c6a
Commit
6d593c6a
authored
3 months ago
by
Emmanuel Raviart
Browse files
Options
Downloads
Patches
Plain Diff
Remove test page
parent
a802c0a2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lib/components/TestComponent.svelte
+0
-14
0 additions, 14 deletions
src/lib/components/TestComponent.svelte
src/routes/test/+page.svelte
+0
-45
0 additions, 45 deletions
src/routes/test/+page.svelte
with
0 additions
and
59 deletions
src/lib/components/TestComponent.svelte
deleted
100644 → 0
+
0
−
14
View file @
a802c0a2
<script
lang=
"ts"
>
let
{
variable
}
=
$props
()
const
yFromQuantile
=
(
_variableA
:
string
=
variable
.
a
)
=>
{
return
_variableA
}
const
arr
=
[
0
,
1
,
2
]
</script>
{
#each
arr
as
item
}
{
@
const
val
=
yFromQuantile
()
}
{
val
}
{
/each
}
This diff is collapsed.
Click to expand it.
src/routes/test/+page.svelte
deleted
100644 → 0
+
0
−
45
View file @
a802c0a2
<script
lang=
"ts"
>
import
TestComponent
from
"
$lib/components/TestComponent.svelte
"
let
variable
=
$state
({
a
:
1
,
b
:
2
,
})
setTimeout
(()
=>
{
variable
=
undefined
},
3000
)
</script>
{
#if
variable
!==
undefined
}
<TestComponent
{
variable
}
/>
{
:
else
}
success
{
/if
}
<!--<script lang="ts">-->
<!-- import { untrack } from "svelte"-->
<!-- let x = $state(0)-->
<!-- let variable = $state({-->
<!-- a: 1,-->
<!-- b: 2,-->
<!-- })-->
<!-- $effect(() => {-->
<!-- if (x) {-->
<!-- untrack(() => {-->
<!-- variable = {-->
<!-- a: 3,-->
<!-- b: 4,-->
<!-- }-->
<!-- $inspect(variable.a)-->
<!-- })-->
<!-- }-->
<!-- })-->
<!--</script>-->
<!--<button onclick={() => x++}> Plus </button>-->
<!--{x}-->
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment