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

1023 Commits

Author SHA1 Message Date
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
Rich Harris
8b38b2b802 throw if user sets read-only properties in dev mode 2017-04-10 17:47:47 -04:00
Rich Harris
38ae43f6d7 add bind:online to <:Window/> (#404) 2017-04-10 16:31:44 -04:00
Rich Harris
783cd383e3 window scroll bindings are bidirectional (#404) 2017-04-10 16:08:19 -04:00
Rich Harris
79c456333c Merge pull request #460 from sveltejs/gh-450
collapse consecutive if-statements with the same condition (#450)
2017-04-10 15:17:46 -04:00
Rich Harris
9c166a86f0 Merge pull request #459 from sveltejs/gh-189
don't create whitespace nodes inside elements like <select>
2017-04-10 15:16:45 -04:00
Rich Harris
9a3b4b1593 Merge pull request #458 from sveltejs/gh-425
better error for attempts to use getters/setters for methods
2017-04-10 15:14:54 -04:00
Rich Harris
b096385df1 lint 2017-04-10 15:12:16 -04:00
Rich Harris
2852b96e65 collapse consecutive if-statements with the same condition (#450) 2017-04-10 15:10:02 -04:00
Rich Harris
182a04e8fc dont create whitespace nodes inside elements like <select> (#189) 2017-04-10 14:54:19 -04:00
Rich Harris
99d6502bfd better error for attempts to use getters/setters for methods. closes #425 2017-04-10 14:20:50 -04:00
Rich Harris
2e946e0e93 -> v1.13.7 2017-04-10 14:01:42 -04:00
Rich Harris
e82c478299 Merge pull request #457 from sveltejs/gh-423
correctly bind one-way select value attributes (#423)
2017-04-10 13:56:35 -04:00
Rich Harris
93e51d6ef3 correctly bind one-way select value attributes (#423) 2017-04-10 13:50:12 -04:00
Rich Harris
20298b1a0a Merge pull request #456 from sveltejs/gh-433-b
Avoid binding event handler callbacks, version 2
2017-04-10 12:07:03 -04:00
Rich Harris
fb9edf2f57 align component code more closely with post-refactor element code 2017-04-10 12:00:27 -04:00
Rich Harris
ec709cb490 Merge pull request #453 from sveltejs/refactor
Refactor
2017-04-10 11:36:58 -04:00
Rich Harris
1e2c8593f2 hoist some event handlers, rewrite non-hoisted ones to avoid binding 2017-04-10 11:26:06 -04:00
Rich-Harris
9561a36eb2 more refactoring 2017-04-09 15:02:23 -04:00
Rich-Harris
4a782bc8f6 refactor a lot of attribute code 2017-04-09 14:42:57 -04:00
Rich-Harris
e960e8b5c5 move some files, tidy up a bit 2017-04-09 13:52:35 -04:00
Rich-Harris
57f1b64ddb start refactoring element code a bit 2017-04-09 12:11:07 -04:00
Rich-Harris
31269e84f0 failing test for #433 2017-04-08 17:41:26 -04:00