From 7631e2eabc0819de7ca8d5f8bfee5c6ee4b49ec8 Mon Sep 17 00:00:00 2001 From: Babak F Date: Wed, 21 Apr 2021 12:11:34 -0700 Subject: [PATCH] Fix HTML and CSS order and format CSS. --- .../11-dimensions/app-a/App.svelte | 20 ++++--- .../11-dimensions/app-b/App.svelte | 20 ++++--- .../06-bindings/12-bind-this/app-a/App.svelte | 12 ++--- .../06-bindings/12-bind-this/app-b/App.svelte | 14 ++--- .../13-component-bindings/app-a/Keypad.svelte | 28 +++++----- .../13-component-bindings/app-b/Keypad.svelte | 28 +++++----- .../07-lifecycle/01-onmount/app-a/App.svelte | 30 +++++------ .../07-lifecycle/01-onmount/app-b/App.svelte | 30 +++++------ .../09-motion/01-tweened/app-a/App.svelte | 16 +++--- .../09-motion/01-tweened/app-b/App.svelte | 16 +++--- .../09-motion/02-spring/app-a/App.svelte | 18 ++++--- .../09-motion/02-spring/app-b/App.svelte | 17 +++--- .../app-a/App.svelte | 24 ++++----- .../app-b/App.svelte | 24 ++++----- .../07-local-transitions/app-a/App.svelte | 16 +++--- .../07-local-transitions/app-b/App.svelte | 16 +++--- .../08-deferred-transitions/app-a/App.svelte | 2 +- .../08-deferred-transitions/app-b/App.svelte | 2 +- .../11-animations/01-animate/app-a/App.svelte | 2 +- .../11-animations/01-animate/app-b/App.svelte | 2 +- .../13-classes/01-classes/app-a/App.svelte | 24 ++++----- .../13-classes/01-classes/app-b/App.svelte | 24 ++++----- .../02-class-shorthand/app-a/App.svelte | 14 ++--- .../14-composition/01-slots/app-a/Box.svelte | 10 ++-- .../14-composition/01-slots/app-b/Box.svelte | 10 ++-- .../02-slot-fallbacks/app-a/Box.svelte | 10 ++-- .../02-slot-fallbacks/app-b/Box.svelte | 14 ++--- .../03-named-slots/app-a/ContactCard.svelte | 54 ++++++++++--------- .../03-named-slots/app-b/ContactCard.svelte | 54 ++++++++++--------- .../04-optional-slots/app-a/App.svelte | 52 +++++++++--------- .../04-optional-slots/app-a/Comment.svelte | 28 +++++----- .../04-optional-slots/app-a/Project.svelte | 24 ++++----- .../04-optional-slots/app-b/App.svelte | 52 +++++++++--------- .../04-optional-slots/app-b/Comment.svelte | 28 +++++----- .../04-optional-slots/app-b/Project.svelte | 28 +++++----- .../05-slot-props/app-a/App.svelte | 22 ++++---- .../05-slot-props/app-b/App.svelte | 28 +++++----- .../01-context-api/app-a/Map.svelte | 14 ++--- .../01-context-api/app-b/Map.svelte | 14 ++--- .../01-svelte-self/app-a/File.svelte | 6 +-- .../01-svelte-self/app-a/Folder.svelte | 34 ++++++------ .../01-svelte-self/app-b/File.svelte | 6 +-- .../01-svelte-self/app-b/Folder.svelte | 34 ++++++------ 43 files changed, 478 insertions(+), 443 deletions(-) diff --git a/site/content/tutorial/06-bindings/11-dimensions/app-a/App.svelte b/site/content/tutorial/06-bindings/11-dimensions/app-a/App.svelte index 62e92cd536..652347099b 100644 --- a/site/content/tutorial/06-bindings/11-dimensions/app-a/App.svelte +++ b/site/content/tutorial/06-bindings/11-dimensions/app-a/App.svelte @@ -5,12 +5,6 @@ let text = 'edit me'; - - @@ -18,4 +12,16 @@
{text} -
\ No newline at end of file + + + \ No newline at end of file diff --git a/site/content/tutorial/06-bindings/11-dimensions/app-b/App.svelte b/site/content/tutorial/06-bindings/11-dimensions/app-b/App.svelte index 920c74d276..c4a5aab4d0 100644 --- a/site/content/tutorial/06-bindings/11-dimensions/app-b/App.svelte +++ b/site/content/tutorial/06-bindings/11-dimensions/app-b/App.svelte @@ -5,12 +5,6 @@ let text = 'edit me'; - - @@ -18,4 +12,16 @@
{text} -
\ No newline at end of file + + + \ No newline at end of file diff --git a/site/content/tutorial/06-bindings/12-bind-this/app-a/App.svelte b/site/content/tutorial/06-bindings/12-bind-this/app-a/App.svelte index f8f93edc2b..ed9cfa6112 100644 --- a/site/content/tutorial/06-bindings/12-bind-this/app-a/App.svelte +++ b/site/content/tutorial/06-bindings/12-bind-this/app-a/App.svelte @@ -36,6 +36,11 @@ }); + + - - + \ No newline at end of file diff --git a/site/content/tutorial/06-bindings/12-bind-this/app-b/App.svelte b/site/content/tutorial/06-bindings/12-bind-this/app-b/App.svelte index 17005e273a..4e537bd90a 100644 --- a/site/content/tutorial/06-bindings/12-bind-this/app-b/App.svelte +++ b/site/content/tutorial/06-bindings/12-bind-this/app-b/App.svelte @@ -36,6 +36,12 @@ }); + + - - + \ No newline at end of file diff --git a/site/content/tutorial/06-bindings/13-component-bindings/app-a/Keypad.svelte b/site/content/tutorial/06-bindings/13-component-bindings/app-a/Keypad.svelte index c457a15cb5..631f7964e2 100644 --- a/site/content/tutorial/06-bindings/13-component-bindings/app-a/Keypad.svelte +++ b/site/content/tutorial/06-bindings/13-component-bindings/app-a/Keypad.svelte @@ -10,19 +10,6 @@ const submit = () => dispatch('submit'); - -
@@ -37,4 +24,17 @@ -
\ No newline at end of file + + + \ No newline at end of file diff --git a/site/content/tutorial/06-bindings/13-component-bindings/app-b/Keypad.svelte b/site/content/tutorial/06-bindings/13-component-bindings/app-b/Keypad.svelte index c457a15cb5..631f7964e2 100644 --- a/site/content/tutorial/06-bindings/13-component-bindings/app-b/Keypad.svelte +++ b/site/content/tutorial/06-bindings/13-component-bindings/app-b/Keypad.svelte @@ -10,19 +10,6 @@ const submit = () => dispatch('submit'); - -
@@ -37,4 +24,17 @@ -
\ No newline at end of file + + + \ No newline at end of file diff --git a/site/content/tutorial/07-lifecycle/01-onmount/app-a/App.svelte b/site/content/tutorial/07-lifecycle/01-onmount/app-a/App.svelte index e8306d1957..f76c377ad3 100644 --- a/site/content/tutorial/07-lifecycle/01-onmount/app-a/App.svelte +++ b/site/content/tutorial/07-lifecycle/01-onmount/app-a/App.svelte @@ -2,20 +2,6 @@ let photos = []; - -

Photo album

@@ -28,4 +14,18 @@

loading...

{/each} -
\ No newline at end of file + + + \ No newline at end of file diff --git a/site/content/tutorial/07-lifecycle/01-onmount/app-b/App.svelte b/site/content/tutorial/07-lifecycle/01-onmount/app-b/App.svelte index 1b83727627..831914fa6a 100644 --- a/site/content/tutorial/07-lifecycle/01-onmount/app-b/App.svelte +++ b/site/content/tutorial/07-lifecycle/01-onmount/app-b/App.svelte @@ -9,20 +9,6 @@ }); - -

Photo album

@@ -35,4 +21,18 @@

loading...

{/each} -
\ No newline at end of file + + + \ No newline at end of file diff --git a/site/content/tutorial/09-motion/01-tweened/app-a/App.svelte b/site/content/tutorial/09-motion/01-tweened/app-a/App.svelte index 75c814add2..a4f828264c 100644 --- a/site/content/tutorial/09-motion/01-tweened/app-a/App.svelte +++ b/site/content/tutorial/09-motion/01-tweened/app-a/App.svelte @@ -4,13 +4,6 @@ const progress = writable(0); - - \ No newline at end of file + + + \ No newline at end of file diff --git a/site/content/tutorial/09-motion/01-tweened/app-b/App.svelte b/site/content/tutorial/09-motion/01-tweened/app-b/App.svelte index 83f3b50a04..ee3c7a1b5d 100644 --- a/site/content/tutorial/09-motion/01-tweened/app-b/App.svelte +++ b/site/content/tutorial/09-motion/01-tweened/app-b/App.svelte @@ -8,13 +8,6 @@ }); - - \ No newline at end of file + + + \ No newline at end of file diff --git a/site/content/tutorial/09-motion/02-spring/app-a/App.svelte b/site/content/tutorial/09-motion/02-spring/app-a/App.svelte index 813c6366b1..aa8a406c2b 100644 --- a/site/content/tutorial/09-motion/02-spring/app-a/App.svelte +++ b/site/content/tutorial/09-motion/02-spring/app-a/App.svelte @@ -5,11 +5,6 @@ let size = writable(10); - -
{/each} -{/if} \ No newline at end of file +{/if} + + \ No newline at end of file diff --git a/site/content/tutorial/10-transitions/08-deferred-transitions/app-a/App.svelte b/site/content/tutorial/10-transitions/08-deferred-transitions/app-a/App.svelte index f05c581390..3b6c6776a6 100644 --- a/site/content/tutorial/10-transitions/08-deferred-transitions/app-a/App.svelte +++ b/site/content/tutorial/10-transitions/08-deferred-transitions/app-a/App.svelte @@ -145,4 +145,4 @@ label:hover button { opacity: 1; } - + \ No newline at end of file diff --git a/site/content/tutorial/10-transitions/08-deferred-transitions/app-b/App.svelte b/site/content/tutorial/10-transitions/08-deferred-transitions/app-b/App.svelte index b7447ca7de..f3a26915a3 100644 --- a/site/content/tutorial/10-transitions/08-deferred-transitions/app-b/App.svelte +++ b/site/content/tutorial/10-transitions/08-deferred-transitions/app-b/App.svelte @@ -152,4 +152,4 @@ label:hover button { opacity: 1; } - + \ No newline at end of file diff --git a/site/content/tutorial/11-animations/01-animate/app-a/App.svelte b/site/content/tutorial/11-animations/01-animate/app-a/App.svelte index b7447ca7de..f3a26915a3 100644 --- a/site/content/tutorial/11-animations/01-animate/app-a/App.svelte +++ b/site/content/tutorial/11-animations/01-animate/app-a/App.svelte @@ -152,4 +152,4 @@ label:hover button { opacity: 1; } - + \ No newline at end of file diff --git a/site/content/tutorial/11-animations/01-animate/app-b/App.svelte b/site/content/tutorial/11-animations/01-animate/app-b/App.svelte index 0d232bf02b..5c5e76331d 100644 --- a/site/content/tutorial/11-animations/01-animate/app-b/App.svelte +++ b/site/content/tutorial/11-animations/01-animate/app-b/App.svelte @@ -155,4 +155,4 @@ label:hover button { opacity: 1; } - + \ No newline at end of file diff --git a/site/content/tutorial/13-classes/01-classes/app-a/App.svelte b/site/content/tutorial/13-classes/01-classes/app-a/App.svelte index baa2543562..f0db8b3214 100644 --- a/site/content/tutorial/13-classes/01-classes/app-a/App.svelte +++ b/site/content/tutorial/13-classes/01-classes/app-a/App.svelte @@ -2,17 +2,6 @@ let current = 'foo'; - - \ No newline at end of file +>baz + + \ No newline at end of file diff --git a/site/content/tutorial/13-classes/01-classes/app-b/App.svelte b/site/content/tutorial/13-classes/01-classes/app-b/App.svelte index a8861ad537..00851567ef 100644 --- a/site/content/tutorial/13-classes/01-classes/app-b/App.svelte +++ b/site/content/tutorial/13-classes/01-classes/app-b/App.svelte @@ -2,17 +2,6 @@ let current = 'foo'; - - \ No newline at end of file +>baz + + \ No newline at end of file diff --git a/site/content/tutorial/13-classes/02-class-shorthand/app-a/App.svelte b/site/content/tutorial/13-classes/02-class-shorthand/app-a/App.svelte index 5ff6497230..d944a63313 100644 --- a/site/content/tutorial/13-classes/02-class-shorthand/app-a/App.svelte +++ b/site/content/tutorial/13-classes/02-class-shorthand/app-a/App.svelte @@ -2,12 +2,6 @@ let big = false; - -