0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-25 00:51:01 +01:00
Commit Graph

4279 Commits

Author SHA1 Message Date
Rich Harris
db96b6bfc8
Merge pull request #2702 from industral/add-readme-indicators
Added npm and license indicators to README
2019-05-08 23:26:10 -04:00
Rich Harris
53c66654b7
Merge pull request #2698 from jacobmischka/fix-get-slot-changes
Initialize `get_slot_changes` to null when not needed
2019-05-08 23:17:31 -04:00
Rich Harris
6d32f99904
Update README.md 2019-05-08 23:16:51 -04:00
Rich Harris
c4e05f2086
Merge pull request #2703 from EmilTholin/hoisting-injected-reactive-vars
Don't hoist functions dependent on injected reactive variables
2019-05-08 23:14:22 -04:00
Rich Harris
aa5b52239f
Merge pull request #2722 from getkey/window-globals
Add `window` and `document` to globals
2019-05-08 23:12:27 -04:00
Julien Mourer
4631b1b93f Add window and document to globals
To prevent the following warning message:

```
(!) svelte plugin: 'window' is not defined
src/templates/Share.svelte
20: </script>
21:
22: {#if window.navigator.share}
         ^
23:   <button class="icon-share2" on:click="{shareNatively}" title="Share"></button>
24: {:else}
```
2019-05-08 20:47:17 +02:00
Rich Harris
3d9cb3b611
Merge pull request #2712 from sveltejs/gh-2708
site: add /chat redirect to Discord
2019-05-08 10:58:24 -04:00
Conduitry
80fe0e9cdb site: add /chat redirect to Discord (#2708) 2019-05-07 20:54:44 -04:00
Conduitry
f7978b234a site: document export-as (#2559) 2019-05-07 08:49:54 -04:00
Alessandro (Ale) Segala
77959a2cc2 Update Visual Studio Code brand
Minimal, but just correcting the brand :)
2019-05-07 08:47:57 -04:00
Emil Tholin
963f6e7aa6 Don't hoist functions dependent on injected reactive variables 2019-05-06 22:49:12 +02:00
Alex Ivasyuv
5fddf49a23 Added CI 2019-05-06 21:30:56 +03:00
Alex Ivasyuv
739179adb1 adding npm and license indicators 2019-05-06 21:24:52 +03:00
Conduitry
457320c30b site: remove chokidar 2019-05-06 12:48:26 -04:00
Jacob Mischka
003cf39c8f
Initialize get_slot_changes to null when not needed
Fixes #2697
2019-05-06 09:21:02 -05:00
Richard Harris
39b1fe224e -> v3.2.1 2019-05-06 07:00:54 -04:00
Rich Harris
4962e20aa2
Merge pull request #2695 from sveltejs/gh-2644
use safe_not_equal logic for derived stores
2019-05-06 06:57:10 -04:00
Rich Harris
db8d7007aa
Merge pull request #2694 from sveltejs/gh-2444
invalidate dependencies of reactive declarations
2019-05-06 06:56:53 -04:00
Rich Harris
11168cf076
Merge pull request #2685 from foucist/master
Make modal example more obvious
2019-05-06 06:55:40 -04:00
Rich Harris
117afe9a71
Merge pull request #2683 from sveltejs/gh-2681
fix instrumentation of auto-subscription self-assignments
2019-05-06 06:53:23 -04:00
Rich Harris
4bc93a3b1f
Merge pull request #2679 from EmilTholin/reactive-declaration-warnings
Warn on improper use of reactive declarations
2019-05-06 06:52:17 -04:00
Richard Harris
a7265f65e3 use safe_not_equal logic for derived stores - fixes #2644 2019-05-06 06:26:38 -04:00
Richard Harris
562f23a87b invalidate dependencies of reactive declarations - fixes #2444 2019-05-06 06:17:26 -04:00
Emil Tholin
0286dce026 Warn on improper use of reactive declarations 2019-05-05 15:34:57 +02:00
Conduitry
43f82af4a8 some linting and tidying 2019-05-05 09:25:39 -04:00
James Robey
c954e84727 Make modal example more obvious 2019-05-05 17:06:10 +07:00
Luke Edwards
c4c21438b2 site: add yootils 2019-05-04 23:29:01 -07:00
Luke Edwards
1d0da9d022 Use database for REPL, update URL structure (#2572)
* fix: move `shelljs` to dev-deps

* fix: move `codemirror` to “external” config only

* fix: move `yootils` to “external” config only

* chore: bump “sirv” dep

* chore: regenerate pkg-lock

* chore: add `.env.example` file

* chore: remove previous dependencies

* chore: add users migration

* feat: add `db` util w/ pool

* feat: handle GitHub OAuth directly, thru JWTs

* fix: hydrate `user` data & update keys

* fix: add timestamp columns to “users" table

* feat: save new gists to database

* feat: find & update gists

* fix: update client for new endpoints

* fix: always send { error } shape

* fix: rename “users.token” => "users.github_token”

* chore: include node-fetch as dev-dep

* fix: remove extra DATABASE_URL key

* fix: upload OAuth popup message

* chore: regenerate lock file

* add database entries for new gists, update REPL URLs

* implement saving and forking

* insert history entry when forking

* add logic for relaxed gists

* remove unnecessary on conflict clause
2019-05-05 00:33:30 -04:00
Conduitry
fc5727c187 fix instrumentation of auto-subscription self-assignments (#2681) 2019-05-04 22:16:53 -04:00
Rich Harris
52633542e6
Merge pull request #2678 from sveltejs/gh-2673
fix wacky layout on mobile
2019-05-04 17:06:55 -04:00
Richard Harris
3ee3576f69 fix wacky layout on mobile - closes #2673 2019-05-04 16:55:27 -04:00
Richard Harris
985bf870d2 Merge branch 'master' of github.com:sveltejs/svelte 2019-05-04 15:46:07 -04:00
Rich Harris
703874626a
Merge pull request #2675 from MikeMatrix/clarify-export-const-docs
Exported properties let vs const clarification
2019-05-04 15:45:56 -04:00
Michael Braun
ac24817ef0 Clarifying let needs to be used on exported properties, in order for them to be passed in 2019-05-04 21:01:01 +02:00
Richard Harris
be1fec4619 fix contributors script 2019-05-04 13:05:09 -04:00
Richard Harris
548fd039d9 update deps 2019-05-04 12:39:45 -04:00
Richard Harris
0275aab800 lint 2019-05-04 12:29:07 -04:00
Richard Harris
0ce8dc9d17 -> v3.2.0 2019-05-04 12:28:08 -04:00
Richard Harris
4ef1a2d623 document new spring options 2019-05-04 12:14:07 -04:00
Rich Harris
26d736fc97
Merge pull request #2627 from lorenbrichter/spring-verlet
Subtle tweaks to spring animations
2019-05-04 12:04:25 -04:00
Richard Harris
59bf8f8882 Merge branch 'blog-anchors-2609' 2019-05-04 11:49:17 -04:00
Richard Harris
537e873cc0 fix double import 2019-05-04 11:49:09 -04:00
Richard Harris
16430dc6bb Merge branch 'master' into blog-anchors-2609 2019-05-04 11:47:17 -04:00
Rich Harris
5a536aafa2
Merge pull request #2658 from MikeMatrix/each-block-rest-destructuring
each-block array destructuring
2019-05-04 11:36:18 -04:00
Rich Harris
78332cf5b0
Merge pull request #2664 from EmilTholin/each-block-destructuring-rest
Add support for object-rest in each destructuring
2019-05-04 11:34:37 -04:00
Rich Harris
411752c5bb
Merge pull request #2670 from MikeMatrix/fix-readonly-form-attribute
Applying read only property form onto elements using `attr` instead
2019-05-04 11:27:21 -04:00
Rich Harris
ba91810b0b
Merge pull request #2672 from sveltejs/gh-2661
expose svelte.walk
2019-05-04 11:22:25 -04:00
Rich Harris
16dbb8f437
Merge pull request #2607 from EmilTholin/figcaption_figure_first_element_ancestor
Check if a figcaption's first element ancestor is a figure
2019-05-04 11:21:39 -04:00
Rich Harris
05428252bc
Merge pull request #2608 from thollander/feat/abstract-block-class
Create a new abstraction level to handle `Block`
2019-05-04 11:21:08 -04:00
Rich Harris
98bd5a1916
Merge branch 'master' into feat/abstract-block-class 2019-05-04 11:13:18 -04:00