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

895 Commits

Author SHA1 Message Date
Rich-Harris
b574c405eb conditionalise each-block updates 2017-04-17 10:43:44 -04:00
Rich-Harris
ab19649dfa preprocess template, so that we can discover dependencies ahead of time 2017-04-17 09:51:53 -04:00
Rich-Harris
d00348d3d6 reduce noise a bit 2017-04-17 08:46:10 -04:00
Rich-Harris
30d4c1c166 less indirection when mounting 2017-04-17 08:23:50 -04:00
Rich-Harris
1d5018bf1e tame each-block code a bit 2017-04-16 22:57:18 -04:00
Rich-Harris
3d259f46ee rename some things so they make more sense 2017-04-16 21:57:40 -04:00
Rich-Harris
db7fe861b2 failing test for #381 2017-04-16 21:57:00 -04:00
Rich Harris
a9f18b5e9f Merge pull request #488 from sveltejs/component-binding-blowback
prevent binding blowback on initial render
2017-04-16 20:54:29 -04:00
Rich-Harris
34622a8a5a tidy up 2017-04-16 20:44:00 -04:00
Rich-Harris
7a3611b5df wait this is actually way easier 2017-04-16 20:41:28 -04:00
Rich-Harris
227ce7928c alternative approach - dont init observer if data has not changed 2017-04-16 20:32:45 -04:00
Rich-Harris
4c3aa0a36f prevent component binding blowback on initial render 2017-04-16 19:59:27 -04:00
Rich-Harris
850c4745c8 -> v1.15.1 2017-04-16 14:32:17 -04:00
Rich Harris
4f20ac8710 Merge pull request #487 from sveltejs/gh-486
ensure binding event handlers precede normal ones
2017-04-16 14:30:12 -04:00
Rich-Harris
ef52a93699 ensure binding event handlers precede normal ones (fixes #486) 2017-04-16 14:21:36 -04:00
Rich Harris
cc21db37c3 Merge pull request #483 from sveltejs/gh-479
Clone data before `set`
2017-04-14 09:42:05 -04:00
Rich Harris
563d300aa2 Merge pull request #482 from sveltejs/gh-481
allow helpers to depend on one another
2017-04-14 09:41:53 -04:00
Rich-Harris
e56f09dfe5 clone before set — fixes #479 2017-04-13 22:27:45 -04:00
Rich-Harris
51ff9ecfa6 allow helpers to depend on one another (closes #481) 2017-04-13 22:18:01 -04:00
Rich-Harris
dba9401670 -> v1.15.0 2017-04-12 20:19:23 -04:00
Rich Harris
c0aa3ef7e1 Merge pull request #478 from sveltejs/gh-476
update select value bindings at the end of the cycle
2017-04-12 20:15:22 -04:00
Rich Harris
d4d7f6c53e Merge pull request #473 from sveltejs/gh-166
More helpful validation
2017-04-12 20:15:14 -04:00
Rich-Harris
02e55e8f7a update select value bindings at the end of the cycle (fixes #476) 2017-04-12 19:55:04 -04:00
Rich Harris
ef630b1483 Merge pull request #477 from sveltejs/gh-475
Make missing properties only a warning
2017-04-12 19:20:18 -04:00
Conduitry
c6304b19f7 only warn on missing properties in dev mode, do not warn on whitelisted globals 2017-04-12 18:56:41 -04:00
Rich Harris
cc722f8f7a handle this.get special case in helpers 2017-04-12 11:30:33 -04:00
Rich Harris
fa65f7af60 enforce helper function purity 2017-04-12 11:23:08 -04:00
Rich Harris
c7ac8b82ba check that event handler callee corresponds to a valid method 2017-04-12 10:42:55 -04:00
Rich Harris
3595470305 validate namespaces 2017-04-12 10:05:06 -04:00
Rich-Harris
ec543cf9b6 -> v1.14.1 2017-04-12 08:35:27 -04:00
Rich Harris
d7320ba9fd Merge pull request #471 from sveltejs/gh-470
replace all invalid characters in attribute names when creating variables
2017-04-12 08:34:35 -04:00
Rich-Harris
a47a679e38 replace all invalid characters in attribute names when creating variables (fixes #470) 2017-04-12 08:27:52 -04:00
Rich Harris
c54bebb750 -> v1.14.0 2017-04-11 14:37:49 -04:00
Rich Harris
faa287f5f3 Merge pull request #468 from sveltejs/gh-465
[WIP] catch hardcoded names that should be aliases
2017-04-11 11:56:28 -04:00
Rich Harris
2069372369 remove hardcoded component reference 2017-04-11 11:35:26 -04:00
Rich Harris
262f4aaf49 Merge pull request #463 from sveltejs/readonly-dev-warning
In dev mode, throw if user sets a read-only property
2017-04-11 11:34:15 -04:00
Rich Harris
79b5ce090e Merge branch 'master' into gh-465 2017-04-11 11:05:42 -04:00
Rich Harris
7176001963 Merge branch 'master' into readonly-dev-warning 2017-04-11 11:04:45 -04:00
Rich Harris
eaf5b6bfc7 Merge pull request #462 from sveltejs/gh-404-online
Add `bind:online` to `<:Window/>`
2017-04-11 11:04:06 -04:00
Rich Harris
229d9f0a5f Merge pull request #461 from sveltejs/gh-404-scroll
window scroll bindings are bidirectional
2017-04-11 11:03:53 -04:00
Rich Harris
42c1096745 Merge pull request #467 from sveltejs/gh-466
ensure hoisted event handler names are globally unique
2017-04-11 11:03:20 -04:00
Rich Harris
91a58a0f26 fix all aliasing tests 2017-04-11 11:02:20 -04:00
Rich Harris
a793398d63 catch hardcoded names that should be aliases (#465) 2017-04-11 10:09:56 -04:00
Rich Harris
352bb3d354 ensure hoisted event handler names are globally unique — fixes #466 2017-04-11 09:38:34 -04:00
Rich Harris
c61ce134df move some tests to where they belong 2017-04-11 09:25:56 -04:00
Rich Harris
92444ca0e1 Merge pull request #464 from sveltejs/gh-451
Avoid component name as global identifier
2017-04-10 19:37:25 -04:00
Conduitry
86035c3f99 unit test 2017-04-10 18:58:05 -04:00
Conduitry
4fe03652f8 warn if options.name does not begin with a capital letter; tidying 2017-04-10 18:57:08 -04:00
Conduitry
e76f4fe6cd recognize component name as a global identifier to be avoided (#451) 2017-04-10 18:34:02 -04:00
Rich Harris
5f2c6e3c19 merge master -> readonly-dev-warning 2017-04-10 17:54:29 -04:00