Andrei Eftimie
e0bebb56a9
Site: Fix slot typo in docs
6 years ago
thollander
c965abc884
Use the already defined type for AppendTarget
6 years ago
Emil Tholin
7ec1bdb712
Don't show 'Empty block' warnings for non-existent await branches
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
Rich Harris
f888123860
Merge pull request #2543 from jches/gh/2542
...
Fix is_hoistable cycle
6 years ago
Rich Harris
ed7c32d12b
Merge pull request #2555 from benlesh/scheduler-reuse-promise
...
perf: Reuse the same promise instance in the scheduler
6 years ago
Ben Lesh
1519a96b52
perf: Reuse the same promise instance in the scheduler
...
- Scheduling an update no longer allocates two new promises, only one via `then`.
- The `tick` method was really returning an empty, resolved promise, so just reusing the same promise there as well. It was a little confusing because it _looked_ like it would return a promise to when the flush had completed, but in fact it was returning a promise that would resolve before the flush completed, as it was the promise that was "thenned" for the flush.
6 years ago
thollander
6941d63d7b
Fix unusable docs sidebar in mobile
...
- Puts the text color in mobile to var(--second)
- Fixes the scroll shadow on scrollbar
- Better size handling
6 years ago
thollander
93f7ecca1d
Don't show/hide nav when clicking in docs sidebar
...
- Listens to hashchange event
- Changes only the navbar visibilty when scroll not triggered by hashchange
Resolves #2456
6 years ago
thollander
adcd13f6dd
Fix the shadow in scrollbar of docs sidebar
6 years ago
Allan Tito
e1b2d5dc28
Update text.md, line 34 ( #2541 )
...
* Added comma
* Update text.md; added comma
6 years ago
Allan Tito
0d5c2466a7
Added comma
6 years ago
Vytautas Jakutis
1f8afcb37e
site: docs: fix a typo in HTML example in template syntax
6 years ago