Rich Harris
3c9d4b2862
Merge pull request #1703 from TehShrike/1699-input-changed
...
Only update inputs when the value changed
6 years ago
Jacob Wright
fb734a349e
Use existing property quoting function
6 years ago
Josh Duff
211e0383cf
Only update inputs when the value changed
...
Fixes #1699
6 years ago
Jacob Wright
22f4b3d4cb
Remove camel-casing, but account for dashed parameters still.
6 years ago
Rich Harris
6327647949
Merge pull request #1691 from sveltejs/gh-1520-alt
...
Alternative approach to #1520
6 years ago
Jacob Wright
c1fc9c1ac9
Encapsulate class directives in the stylesheet.
6 years ago
Jacob Wright
4ec85bb8cc
Adds class directive shortcut
...
When no expression is used in a class directive the class name will be used to evaluate whether the class should be added/removed.
E.g. the following will add the class "active" when you call `component.set({ active });`.
```html
<div class:active></div>
```
6 years ago
Jacob Wright
4c2b9603a1
Fix for each-blocks preventing outros from completing
...
Unkeyed each blocks end up with trailing `null` values that prevent the whole from being outroed. This fixes it so the null values are removed before outroing the remaining blocks.
Fixes #1617
6 years ago
Rich Harris
a18cec0ec6
not sure where that extra blank line came from
6 years ago
Rich Harris
645f9e3894
oops, we need that argument
6 years ago
Rich Harris
c2f0ca3e2e
alternative approach to #1520
6 years ago
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