Andreas Ehrencrona
ddf13211af
Updated to ESLint config 5.4.0 ( #5541 )
4 years ago
Tan Li Hau
0ac341d2c6
expose which slots are present in $$slots ( #4602 )
5 years ago
Tan Li Hau
ec0f79c5af
add updating guard to binding callback ( #5126 )
5 years ago
Conduitry
f2ee7efb94
add dev runtime warning for unknown slot names ( #4501 )
5 years ago
rixo
cb64fb2ac9
make $capture_state/$inject_state act on entire state ( #3822 )
...
Previously, these methods only applied to exported props.
Also, add $$inject option to constructor, which injects state before
running the update loop.
5 years ago
Conduitry
2f81365e44
fix awaited expressions that need parentheses ( #4283 )
5 years ago
Tan Li Hau
a8b306f0a1
revert remove contextual overflow ( #4102 )
5 years ago
Tan Li Hau
f9a9484e39
fix dirtybit ( #4095 )
5 years ago
Rich Harris
cd21acfb3c
Bitmask-based change tracking ( #3945 )
...
* start updating tests
* start implementing bitmask-based change tracking (#1943 )
* oops
* fix some await block stuff
* slots
* reactive declarations
* component bindings etc
* start fixing slots
* fix store value invalidations
* slot stuff
* fixes
* fix
* fixes
* fix some slot stuff
* fix some invalidations
* fix if blocks
* fix a test
* destructuring in lets
* fix shadowing
* fix if block case
* all runtime tests passinfg
* almost all tests passing
* update tests
* never hoist writable vars in dev mode, fix debug statements
* beef up shadowing test
* always use renderer.reference
* fix sourcemaps
* ugh so close
* all tests passing. phase one complete, i guess
* add test for component with more than 31 dynamic values
* stable sort
* stable sort that preserves order
* linting
* failing test for bitmask overflow
* ok i think this is it
* lint
* rename changed to dirty, for more internal consistency
* update tests
* use bitwise comparison
* add comments... sort of
* update tests
* moar comments
* I don't know what happened to these tests
5 years ago
Conduitry
afe5ad430a
Use IE-compatible js to check for unknown prop warnings ( #3915 )
...
Fixes #3914
5 years ago
Richard Harris
d8b25afacd
update tests
5 years ago
Richard Harris
47a9811c1e
alternative fix for #3508
5 years ago
Rich Harris
b9f14846b0
Structured code generation ( #3539 )
5 years ago
Richard Harris
f2568f6665
remove $unsafe_set in favour of modified $inject_state
5 years ago
Richard Harris
8174119746
update tests
5 years ago
Richard Harris
a821aa7a15
merge sveltejs/master -> devtools
5 years ago
Timothy Johnson
cdd3bf0165
Pass options in component event
6 years ago
Timothy Johnson
9223f56323
Fix tests
6 years ago
Axelen123
71a1d5204d
Update tests
6 years ago
Richard Harris
dda69dbad0
update tests
6 years ago
Richard Harris
0891495647
code style
6 years ago
Colin Casey
05fb05bfae
check for unknown props when creating component
6 years ago
Rich Harris
a07eac432a
update API reference docs ( #2206 )
6 years ago
Rich Harris
4348727fca
Merge pull request #2258 from sveltejs/collapse-whitespace
...
collapse consecutive whitespace characters
6 years ago
Conduitry
a8e59d7fd7
update tests
6 years ago
Richard Harris
2b1aa77f29
collapse consecutive whitespace characters in the absense of options.preserveWhitespace or a <pre>
6 years ago
Rich Harris
21d56c9ee3
Tidy up ( #2252 )
6 years ago
Richard Harris
83a9b6af23
default to accessors: false ( #2144 )
6 years ago
Richard Harris
b162de80ce
update JS tests
6 years ago
Richard Harris
ca0e5df0d8
update parser and js tests
6 years ago
Rich Harris
687e352209
rename .html files to .svelte
6 years ago
Rich Harris
c2e6d1bf0d
Better composition — implements https://github.com/sveltejs/rfcs/pull/12
6 years ago
Rich Harris
0ea3840046
Overhaul transitions - fixes #1906
6 years ago
Richard Harris
1d9ce0fff5
update tests
6 years ago
Richard Harris
468b5dc0c4
fix tests
6 years ago
Richard Harris
ef944b5713
prevent parent component modifying child component state - fixes #1924
6 years ago
Rich Harris
7440fa54e9
remove missing prop warning false positives - fixes #1902
6 years ago
Rich Harris
1f46e23e1b
More conservative invalidation
6 years ago
Conduitry
df57e508f8
use extension-less import for svelte/internal
6 years ago
Rich Harris
f45e2b70fd
Implement reactive assignments ( #1839 )
...
This also includes elements of RFCs 2 and 3
6 years ago
Rich Harris
4afa133214
reinstate tests
6 years ago
Rich Harris
4a88c9ccb5
remove -bundle files
6 years ago
Rich Harris
e0fe31327a
move render logic into separate phase ( #1678 )
6 years ago
Rich Harris
a18cec0ec6
not sure where that extra blank line came from
7 years ago
Rich Harris
c2f0ca3e2e
alternative approach to #1520
7 years ago
Jacob Wright
2c24c36120
Allows fragment updates to happen after state updates
...
Proposed fix for #1520 . Provides a starting point for discussion.
7 years ago
Rich Harris
d323f51e6c
update tests
7 years ago
Rich Harris
1dc1343f00
only add debugger statements in dev mode
7 years ago
Admin
4004a569e1
Adds tests for valid and invalid debug tag usage.
7 years ago