0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

2966 Commits

Author SHA1 Message Date
Josh Duff
211e0383cf Only update inputs when the value changed
Fixes #1699
2018-08-28 10:33:49 -05:00
Rich Harris
6327647949
Merge pull request #1691 from sveltejs/gh-1520-alt
Alternative approach to #1520
2018-08-26 19:59:52 -04:00
Rich Harris
a18cec0ec6 not sure where that extra blank line came from 2018-08-25 07:08:08 -04:00
Rich Harris
645f9e3894 oops, we need that argument 2018-08-25 07:06:46 -04:00
Rich Harris
c2f0ca3e2e alternative approach to #1520 2018-08-25 06:58:31 -04:00
Rich Harris
33ed2f504e Merge branch 'master' into gh-1520 2018-08-25 06:40:44 -04:00
Rich Harris
0f171a5f3e -> v2.13.1 2018-08-25 06:29:23 -04:00
Rich Harris
4d4c2c3655 coerce toggle argument 2018-08-25 06:27:38 -04:00
Rich Harris
c7609a2da3 -> v2.13.0 2018-08-24 21:42:29 -04:00
Rich Harris
f1324e649f
Merge pull request #1690 from sveltejs/remove-source-map
remove sourcemaps from package
2018-08-24 21:41:18 -04:00
Rich Harris
479cf47556
Merge pull request #1685 from sveltejs/gh-890
Adds the class directive
2018-08-24 21:39:25 -04:00
Rich Harris
f12141e18a
Update dom.js 2018-08-24 21:32:35 -04:00
Rich Harris
c4526c3302
Merge branch 'master' into gh-890 2018-08-24 21:29:08 -04:00
Rich Harris
d0d548f708 remove sourcemaps from package 2018-08-24 20:00:05 -04:00
Rich Harris
e26dcadecf -> v2.12.1 2018-08-24 19:52:47 -04:00
Rich Harris
ff6c4c7767
Merge pull request #1681 from sveltejs/gh-1666
correctly set select value on mount
2018-08-24 19:47:09 -04:00
Rich Harris
ed9a9a9530
Merge pull request #1682 from sveltejs/gh-1659
support debug tag in SSR mode
2018-08-24 19:41:44 -04:00
Rich Harris
09865ebbed
Merge pull request #1683 from sveltejs/gh-1658
don't warn on empty block for nbsp
2018-08-24 19:41:28 -04:00
Rich Harris
fe8e31a592
Merge pull request #1684 from kaisermann/spread-attr-style
Set style attribute correctly when spread attr present
2018-08-24 19:41:12 -04:00
Rich Harris
d6fe9b4b84
Merge pull request #1688 from sveltejs/outro-elseif-error
Fixes an error with outros and elseifs
2018-08-24 19:39:45 -04:00
Jacob Wright
96c4455af9 Fixes an error with outros and elseifs
This is a fix for when an elseif doesn't have a final else, and the following error was thrown:

```
TypeError: Cannot read property 'o' of undefined
```

See https://svelte.technology/repl?version=2.12.0&gist=c33d308077447f8ba06b79d8ef5ab1e4
2018-08-24 14:01:51 -06:00
Jacob Wright
5ef44ae6c9 Adds the class directive
Allows `<div class:active="user.active">` to simplify templates littered with ternary statements.

Addresses #890
2018-08-24 10:09:46 -06:00
Christian Kaisermann
54dc1e5849 Set style attribute correctly when spread attr present 2018-08-24 12:16:09 -03:00
Rich Harris
c52a6f011b dont warn on empty block for nbsp - fixes #1658 2018-08-24 08:22:41 -04:00
Rich Harris
4890d4dc02 increase timeout, reduce flakiness 2018-08-23 22:55:38 -04:00
Rich Harris
154ee73765 support debug tag in SSR mode - fixes #1659 2018-08-23 22:53:17 -04:00
Rich Harris
ec6360487e correctly set select value on mount - fixes #1666 2018-08-23 22:02:16 -04:00
Rich Harris
c2642bdf11
Merge pull request #1680 from sveltejs/gh-1675
run transitions in context of component
2018-08-23 21:46:50 -04:00
Rich Harris
af1902d510 run transitions in context of component - fixes #1675 2018-08-23 20:58:49 -04:00
Rich Harris
e450c30943
Merge pull request #1679 from sveltejs/gh-1676
Allows actions to use any expression type
2018-08-23 20:51:03 -04:00
Jacob Wright
ba5ede599a Allows actions to use any expression type
Allow any expression to pass data to an action. Added a test for a ternary statement and a string template.
Fixes #1676
2018-08-23 17:23:55 -06:00
Jacob Wright
2c24c36120 Allows fragment updates to happen after state updates
Proposed fix for #1520. Provides a starting point for discussion.
2018-08-23 11:56:11 -06:00
Rich Harris
f38bdaaadf -> v2.12.0 2018-08-22 23:14:38 -04:00
Rich Harris
ba7a6c9bc1
Merge pull request #1677 from sveltejs/gh-1660
Allow non-existent dynamic components to be destroyed
2018-08-22 23:09:40 -04:00
Rich Harris
3785a6d2ad update unrelated test 2018-08-22 23:02:22 -04:00
Rich Harris
620077227f allow non-existent dynamic components to be destroyed (#1660) 2018-08-22 23:01:57 -04:00
Rich Harris
3778431775
Merge pull request #1670 from sveltejs/init
Share more init work
2018-08-22 22:23:51 -04:00
Rich Harris
7242905e9b
Merge pull request #1653 from sveltejs/actions-onmount
Change actions to init on mount rather than hydrate
2018-08-22 22:14:12 -04:00
Rich Harris
5244839f3d
Merge pull request #1672 from blittle/master
Properly propagate amdId to the compiler
2018-08-22 22:12:12 -04:00
Rich Harris
a74abddcd2
Merge pull request #1673 from UnwrittenFun/fix/missing-ObjectPattern-props
Add some properties to ObjectPattern Property nodes
2018-08-22 22:09:33 -04:00
Rich Harris
1ccc45426c
Merge pull request #1674 from UnwrittenFun/fix/object-array-pattern-end
add end position to object and array patterns
2018-08-22 22:07:51 -04:00
James Birtles
df4ca0103d fix test 2018-08-22 18:03:18 +01:00
James Birtles
bbe5319f3b add end position to object and array patterns 2018-08-22 17:50:19 +01:00
James Birtles
1d9ab99a9f better shorthand detection 2018-08-21 21:17:51 +01:00
James Birtles
404587d991 add some missing ObjectPattern properties 2018-08-21 21:08:46 +01:00
Bret Little
3510dd9fe3 Properly propagate amdId to the compiler 2018-08-21 09:41:21 -06:00
Rich Harris
d323f51e6c update tests 2018-08-21 07:30:07 -04:00
Rich Harris
f47d65bd26 move stuff into init/flush functions 2018-08-21 07:29:58 -04:00
Rich Harris
9eec6f8c72 -> v2.11.0 2018-08-14 20:22:48 -04:00
Rich Harris
4ce2e1ddc5
Merge pull request #1652 from sveltejs/gh-1544-computed-whole-state
exclude current prop in computed properties using entire state #1544
2018-08-14 20:19:36 -04:00