From 766e768fd0de3168c37c297e41162349f0a8f8a6 Mon Sep 17 00:00:00 2001
From: Leandro Lopez <96090997+musrex@users.noreply.github.com>
Date: Sat, 1 Jun 2024 05:53:17 -0400
Subject: [PATCH 1/3] Fix spin function syntax for Svelte tutorial auto-grader
(#626)
Corrected arrow function syntax to include missing parenthesis around the "t" parameter and added semicolon after the last backtick in returned CSS string. The auto-grader expects both.
---
.../02-transitions/04-custom-css-transitions/README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/README.md b/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/README.md
index 30dc666bf..e10576f8c 100644
--- a/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/README.md
+++ b/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/README.md
@@ -53,7 +53,7 @@ We can get a lot more creative though. Let's make something truly gratuitous:
function spin(node, { duration }) {
return {
duration,
- css: t => +++{
+ css: (t) => +++{
const eased = elasticOut(t);
return `
@@ -62,7 +62,7 @@ We can get a lot more creative though. Let's make something truly gratuitous:
${Math.trunc(t * 360)},
${Math.min(100, 1000 * (1 - t))}%,
${Math.min(50, 500 * (1 - t))}%
- );`
+ );`;
}+++
};
}
From 735b023cabb1f9c392b97cb6e37edf527dac655c Mon Sep 17 00:00:00 2001
From: Azat <8280770+azataiot@users.noreply.github.com>
Date: Sun, 2 Jun 2024 18:07:48 +0300
Subject: [PATCH 2/3] fix typo: Unknown pseudo selector 'lsat-child'. renamed
to 'last-child'. (#601)
---
content/tutorial/common/src/app.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/tutorial/common/src/app.html b/content/tutorial/common/src/app.html
index 4dba4f2d1..d904c3713 100644
--- a/content/tutorial/common/src/app.html
+++ b/content/tutorial/common/src/app.html
@@ -183,7 +183,7 @@
margin-top: 0;
}
- progress:lsat-child {
+ progress:last-child {
margin-bottom: 0;
}
From c1e1157f9f137fe63e2f9915a5453af1ccaad5ce Mon Sep 17 00:00:00 2001
From: Max Mynter <32773644+maxmynter@users.noreply.github.com>
Date: Tue, 25 Jun 2024 17:47:09 +0200
Subject: [PATCH 3/3] Update paper.svg filler for 7.01 & 7.03 (#604)
as was done in 8ded6c5dc12d46c043d9aa6b7174e48cdf394cd1 for 7.02.
With fill="none", the business card paper background is not rendered
correctly.
---
.../07-composition/01-slots/app-a/src/lib/paper.svg | 4 ++--
.../07-composition/03-slot-fallbacks/app-a/src/lib/paper.svg | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/content/tutorial/02-advanced-svelte/07-composition/01-slots/app-a/src/lib/paper.svg b/content/tutorial/02-advanced-svelte/07-composition/01-slots/app-a/src/lib/paper.svg
index f8f704fdf..5dba50c15 100644
--- a/content/tutorial/02-advanced-svelte/07-composition/01-slots/app-a/src/lib/paper.svg
+++ b/content/tutorial/02-advanced-svelte/07-composition/01-slots/app-a/src/lib/paper.svg
@@ -6,5 +6,5 @@
-
-
\ No newline at end of file
+
+
diff --git a/content/tutorial/02-advanced-svelte/07-composition/03-slot-fallbacks/app-a/src/lib/paper.svg b/content/tutorial/02-advanced-svelte/07-composition/03-slot-fallbacks/app-a/src/lib/paper.svg
index f8f704fdf..5dba50c15 100644
--- a/content/tutorial/02-advanced-svelte/07-composition/03-slot-fallbacks/app-a/src/lib/paper.svg
+++ b/content/tutorial/02-advanced-svelte/07-composition/03-slot-fallbacks/app-a/src/lib/paper.svg
@@ -6,5 +6,5 @@
-
-
\ No newline at end of file
+
+