Rich Harris
33ed2f504e
Merge branch 'master' into gh-1520
6 years ago
Rich Harris
0f171a5f3e
-> v2.13.1
6 years ago
Rich Harris
4d4c2c3655
coerce toggle argument
6 years ago
Rich Harris
c7609a2da3
-> v2.13.0
6 years ago
Rich Harris
f1324e649f
Merge pull request #1690 from sveltejs/remove-source-map
...
remove sourcemaps from package
6 years ago
Rich Harris
479cf47556
Merge pull request #1685 from sveltejs/gh-890
...
Adds the class directive
6 years ago
Rich Harris
f12141e18a
Update dom.js
6 years ago
Rich Harris
c4526c3302
Merge branch 'master' into gh-890
6 years ago
Rich Harris
d0d548f708
remove sourcemaps from package
6 years ago
Rich Harris
e26dcadecf
-> v2.12.1
6 years ago
Rich Harris
ff6c4c7767
Merge pull request #1681 from sveltejs/gh-1666
...
correctly set select value on mount
6 years ago
Rich Harris
ed9a9a9530
Merge pull request #1682 from sveltejs/gh-1659
...
support debug tag in SSR mode
6 years ago
Rich Harris
09865ebbed
Merge pull request #1683 from sveltejs/gh-1658
...
don't warn on empty block for nbsp
6 years ago
Rich Harris
fe8e31a592
Merge pull request #1684 from kaisermann/spread-attr-style
...
Set style attribute correctly when spread attr present
6 years ago
Rich Harris
d6fe9b4b84
Merge pull request #1688 from sveltejs/outro-elseif-error
...
Fixes an error with outros and elseifs
6 years ago
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
6 years ago
Jacob Wright
5ef44ae6c9
Adds the class directive
...
Allows `<div class:active="user.active">` to simplify templates littered with ternary statements.
Addresses #890
6 years ago
Christian Kaisermann
54dc1e5849
Set style attribute correctly when spread attr present
6 years ago
Rich Harris
c52a6f011b
dont warn on empty block for nbsp - fixes #1658
6 years ago
Rich Harris
4890d4dc02
increase timeout, reduce flakiness
6 years ago
Rich Harris
154ee73765
support debug tag in SSR mode - fixes #1659
6 years ago
Rich Harris
ec6360487e
correctly set select value on mount - fixes #1666
6 years ago
Rich Harris
c2642bdf11
Merge pull request #1680 from sveltejs/gh-1675
...
run transitions in context of component
6 years ago
Rich Harris
af1902d510
run transitions in context of component - fixes #1675
6 years ago
Rich Harris
e450c30943
Merge pull request #1679 from sveltejs/gh-1676
...
Allows actions to use any expression type
6 years ago
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
6 years ago
Jacob Wright
2c24c36120
Allows fragment updates to happen after state updates
...
Proposed fix for #1520 . Provides a starting point for discussion.
6 years ago
Rich Harris
f38bdaaadf
-> v2.12.0
6 years ago
Rich Harris
ba7a6c9bc1
Merge pull request #1677 from sveltejs/gh-1660
...
Allow non-existent dynamic components to be destroyed
6 years ago
Rich Harris
3785a6d2ad
update unrelated test
6 years ago
Rich Harris
620077227f
allow non-existent dynamic components to be destroyed ( #1660 )
6 years ago
Rich Harris
3778431775
Merge pull request #1670 from sveltejs/init
...
Share more init work
6 years ago
Rich Harris
7242905e9b
Merge pull request #1653 from sveltejs/actions-onmount
...
Change actions to init on mount rather than hydrate
6 years ago
Rich Harris
5244839f3d
Merge pull request #1672 from blittle/master
...
Properly propagate amdId to the compiler
6 years ago
Rich Harris
a74abddcd2
Merge pull request #1673 from UnwrittenFun/fix/missing-ObjectPattern-props
...
Add some properties to ObjectPattern Property nodes
6 years ago
Rich Harris
1ccc45426c
Merge pull request #1674 from UnwrittenFun/fix/object-array-pattern-end
...
add end position to object and array patterns
6 years ago
James Birtles
df4ca0103d
fix test
6 years ago
James Birtles
bbe5319f3b
add end position to object and array patterns
6 years ago
James Birtles
1d9ab99a9f
better shorthand detection
6 years ago
James Birtles
404587d991
add some missing ObjectPattern properties
6 years ago
Bret Little
3510dd9fe3
Properly propagate amdId to the compiler
6 years ago
Rich Harris
d323f51e6c
update tests
6 years ago
Rich Harris
f47d65bd26
move stuff into init/flush functions
6 years ago
Rich Harris
9eec6f8c72
-> v2.11.0
6 years ago
Rich Harris
4ce2e1ddc5
Merge pull request #1652 from sveltejs/gh-1544-computed-whole-state
...
exclude current prop in computed properties using entire state #1544
6 years ago
Rich Harris
c8546bada1
Merge pull request #1651 from TehShrike/patch-2
...
Readme: add list of known CSS preprocessors
6 years ago
Rich Harris
3e119272cf
Merge pull request #1649 from aphitiel/cli-shared
...
cli: Add option --shared
6 years ago
Rich Harris
b62872d39c
Merge pull request #1530 from sveltejs/gh-1522
...
onstate before render
6 years ago
Jacob Wright
b6e51ddc32
Change actions to init on mount rather than hydrate
...
Looking at the discussion on https://github.com/sveltejs/svelte/pull/1247 it sounds like this was the intended way actions would be set up to work (which is why we didn't add a `mount` lifecycle method). I *believe* this is a fix in the original implementation.
Complaints in chat about this surfaced the issue. Some libraries expect the element to be in the DOM when initializing and these libraries cannot be used without any lifecycle hook. @PaulMaly is requesting this be looked at, and I agree with his assesment.
What's more, this change *should* be backwards compatable. Actions which work before this change should continue working after this change.
6 years ago
Conduitry
345cf64446
exclude current prop in computed properties using entire state #1544
6 years ago