Achim Vedam
3b244a6fde
Consistent sidebars 2641 ( #2642 )
...
* consistent sidebar tutorial
- added css-var for light sidebar-text for easy handling
- provide higher contrast for better readability in code and blockquotes
- push SHOW ME with higher contrast (on dark instead on white)
* minor fixes on opacities and color
* adjust sidebar-styles of docs and examples
closes #2641
6 years ago
Benjamin Milde
e73084b6af
Hint at the reactivity limitation of array methods in the api docs ( #2622 )
...
* Hint at the reactivity limitation of array methods in the api docs
* tweaks
6 years ago
raveling
511060ba94
improve referencing to code editor for mobile readers ( #2632 )
...
* improve referencing to code editor for mobile readers
The current documentation mentions "to the right" which is not accurate for people reading the tutorial on narrow-viewport devices.
I changed it to "the code editor", but this may be improved upon to match other more common references.
* typo
6 years ago
Emil Tholin
d419274afd
Narrow down checkbox transitions to background and left
6 years ago
pngwn
60e73c41dc
Document svelte/animate - flip.
6 years ago
pngwn
764f71c30d
Site: Document createEventDispatcher. ( #2583 )
6 years ago
Luca Bonavita
211d86b4f8
Update the message in the popup we get when we login in the REPL
6 years ago
Luca Bonavita
8839951185
Site: REPL, use the gist or example title in the page title
...
Closes #2592
6 years ago
Luca Bonavita
55efa0e0b1
Site: REPL temp fix for the output pane does not receiving touch events on mobile & tablet
...
Applying this fix to make the site accessible on mobile again,
will remove when https://github.com/sveltejs/svelte-repl/issues/8 gets fixed and published
Fixes #2499 #2550
6 years ago
Luca Bonavita
788519b1c4
Site: use pure javascript slugification library
...
This library doesn't support languages but it has only 2 dependencies being free from native dependencies
Closes #2508
6 years ago
Andrei Eftimie
e0bebb56a9
Site: Fix slot typo in docs
6 years ago
thollander
c965abc884
Use the already defined type for AppendTarget
6 years ago
Richard Harris
831926bccd
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
447ebf983a
update license
6 years ago
Vidar Tysse
1ba42435ac
Typo
6 years ago
Rich Harris
85bf5bde8e
Merge pull request #2578 from EmilTholin/patch-1
...
Site: Document how to remove a component.$on listener
6 years ago
Emil Tholin
eab763c386
Document how to remove a component.$on listener
...
This PR documents how `component.$on` returns a function that removes the event listener when called.
6 years ago
Luca Bonavita
cc4e5b3e31
Use comma as the separatore in the viewport content value.
...
It seems that semicolon is not supported by Android phones.
Problem is, we'll have to re-open #2551 as iOS doesn't support the comma... (eyeroll)
6 years ago
Emil Tholin
5ab4a6c2f8
Fix typo in 10-transitions/07-local-transitions/text.md
6 years ago
Richard Harris
c5f569f3c7
-> v3.1.0
6 years ago
Richard Harris
ce9eba8227
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
091410028e
fix subscribe implementation, add test for unsubscribing observables
6 years ago
Rich Harris
2c349d449d
Merge pull request #2570 from netaisllc/patch-2
...
For want of a word... A PR of exactly three characters, one being a space.
6 years ago
Kevin McGee
2d5b27b643
For want of a word...
...
_as_ you like it...
6 years ago
Richard Harris
c4a8e9755f
Merge branch 'rxjs-support' of https://github.com/benlesh/svelte into benlesh-rxjs-support
6 years ago
Rich Harris
bf51befb54
Merge pull request #2558 from enstyled/patch-1
...
Update tutorial video chapter assets URLs with HTTPS
6 years ago
Rich Harris
030c957c9f
Merge pull request #2561 from AlexxNB/patch-1
...
add `npm run update` command
6 years ago
Rich Harris
4ee6284514
Merge pull request #2564 from sveltejs/ios-fix-2551
...
Site: set initial-scale=1.0 on the viewport
6 years ago
Rich Harris
3bbccc5604
Merge pull request #2565 from ericdfields/patch-1
...
Change use of "e.g." to "for example"
6 years ago
Conduitry
943ac09b4e
add .gitattributes for stopgap HTML syntax highlighting on .svelte files
6 years ago
Eric Brookfield
1d61e48490
e.g. -> for example
...
*E.g.* is an English language idiom that can be said in a plainer way, easier for non-native speakers to understand.
Personal preference is to use plainer language when possible, but I wouldn't be offended if this were rejected.
6 years ago
Luca Bonavita
1ad29d2a02
Site: set initial-scale=1.0 on the viewport
...
fixes #2551
6 years ago
Alexey Schebelev
a6970d7a39
better look
6 years ago
Alexey Schebelev
9bc7261c0c
add `npm run update` command
...
`npm run update` script should be executed before dev site will be run.
6 years ago
Emil Nikov
a3378466d3
Update assets URL in the code snippet
...
The assets are not loading when copy/pasting it in the editor, due to protocol mismatch.
6 years ago
Rich Harris
2eba37bdb1
RxJS always returns a Subscription object with an unsubscribe.
...
Co-Authored-By: benlesh <ben@benlesh.com>
6 years ago
Richard Harris
a06f92a930
-> v1.0.0
6 years ago
Rich Harris
2fdf7d4e91
Merge pull request #2554 from thollander/fix/mobile-docs-sidebar
...
Fix unusable docs sidebar in mobile
6 years ago
Rich Harris
de8d1a3bc2
Merge pull request #2529 from sveltejs/examples-loader-and-cache-2527
...
Site examples: add a cache and show a loading icon
6 years ago
Richard Harris
14ece6e789
simplify example further
6 years ago
Richard Harris
5c06d5ecf5
Merge branch 'patch-3' of https://github.com/CreaturesInUnitards/svelte into CreaturesInUnitards-patch-3
6 years ago
Rich Harris
b4fb2b77e0
Merge pull request #2478 from sveltejs/site/polka
...
Site: Migrate to Polka
6 years ago
Rich Harris
050de82b29
Merge branch 'master' into site/polka
6 years ago
Ben Lesh
e25b7df275
fix: Ensure RxJS users don't create memory leaks
...
There is a bit of excitement in the RxJS community about Svelte.
- It seems like the rest of Svelte "just works™" with RxJS!
- **BUT** The danger is that unwary users will figure out how smooth this API is and accidentally create nasty memory leaks if the returned RxJS Subscriptions are not handled. Fortunately the required change is small.
NOTE: I am not entirely sure how to test this change. The goal here is to make sure that whenever you would normally teardown your store subscriptions, it is also tearing down these RxJS-shaped subscriptions. This is most commonly something you want in a component scenario. Say you have a timer component in your app that you show and remove with an `{#if}` block, when the `{#if}` block hides the component, you'd want to tear down the underlying Observable that is "ticking".
Related #2549
6 years ago
Rich Harris
48ebaac3ef
Merge pull request #2511 from atomAltera/fix/2506
...
Fixing issue with cursor jumping in Safari #2506
6 years ago
Rich Harris
f38678673c
Merge pull request #2517 from CreaturesInUnitards/patch-4
...
add multiple class toggles example
6 years ago
Rich Harris
c97ee00b4e
Merge pull request #2518 from sveltejs/gh-2510
...
handle unknown nodes in extract_identifiers
6 years ago
Rich Harris
b111785184
Merge pull request #2523 from sw-yx/patch-1
...
[updating docs] update quick start instructions
6 years ago
Rich Harris
5b453ed569
Merge pull request #2524 from sveltejs/gh-2447
...
Move embedded REPL contents into examples
6 years ago
Rich Harris
fa3b7b0c65
Merge pull request #2526 from sidx1024/add-myorganisation-logo
...
Add Razorpay to WhosUsingSvelte
6 years ago