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

1038 Commits

Author SHA1 Message Date
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
Rich-Harris
731f09d173 Merge branch 'master' into refactor 2017-04-08 17:26:07 -04:00
Rich Harris
35113bdee1 Merge pull request #448 from sveltejs/gh-441
reverse pre and post to fix deferred observers
2017-04-08 17:25:24 -04:00
Rich-Harris
67967b1a83 DRY out block.tmp stuff 2017-04-08 17:22:52 -04:00
Rich-Harris
8148230e49 align SSR compiler with DOM compiler 2017-04-08 16:58:07 -04:00
Rich-Harris
f88788cc29 rename fragment to block everywhere 2017-04-08 16:55:30 -04:00
Rich-Harris
0050871197 more consistent naming 2017-04-08 16:49:33 -04:00
Rich-Harris
aa41135f21 remove redundant addSourcemapLocations calls 2017-04-08 16:33:52 -04:00
Rich-Harris
552820cd7f rename Fragment to Block 2017-04-08 16:28:20 -04:00
Rich-Harris
bd85ffbf28 move render logic into fragment 2017-04-08 16:22:20 -04:00
Rich-Harris
858c6b5e82 add gitkeep file so tests pass in CI 2017-04-08 16:12:54 -04:00
Rich-Harris
cca91f88bb remove getBuilders 2017-04-08 16:06:03 -04:00
Rich-Harris
cc2b6fd53b make fragment constructor more explicit 2017-04-08 16:03:51 -04:00
Rich-Harris
078f36be6a get rid of fragment.type 2017-04-08 15:55:04 -04:00
Rich-Harris
96eca1235b get rid of findBlock 2017-04-08 15:53:05 -04:00
Rich-Harris
c87967be69 rename state.target to more self-explanatory state.parentNode 2017-04-08 15:37:05 -04:00
Rich-Harris
4b3bdcf946 use isTopLevel instead of elementDepth 2017-04-08 15:33:50 -04:00
Rich-Harris
a9fb93eb32 remove redundant localElementDepth 2017-04-08 15:29:53 -04:00
Rich-Harris
421f3d698f separate current *fragment* from current *generator state* 2017-04-08 14:37:29 -04:00
Rich-Harris
abf774bc57 remove generator.push and generator.pop 2017-04-08 13:32:16 -04:00
Rich-Harris
d93a3698fb all tests passing once more. now the real work begins 2017-04-08 12:42:27 -04:00
Rich-Harris
cdb8b9d01d get yield blocks working 2017-04-08 11:59:30 -04:00
Rich Harris
c0442b5eb1 another horrible half-done commit 2017-04-07 16:23:28 -04:00
Rich Harris
d0752cd6b1 another half-done commit 2017-04-06 18:30:43 -04:00
Rich Harris
063e76f322 baby steps... 2017-04-06 16:45:18 -04:00
Rich Harris
3006a245af more consistent naming 2017-04-06 16:18:27 -04:00
Rich Harris
11033c2f20 minor test tweaks 2017-04-06 15:45:26 -04:00
Rich Harris
6802f43e48 Merge pull request #454 from taylorzane/gh-452-fix-empty-computed
Fixed empty component 'computed' from throwing error.
2017-04-05 08:16:31 -04:00
Taylor Zane Glaeser
3ed4dc68ee Fixes #452. Fixed an issue that caused setting computed to an empty object to prevent the component from compiling. 2017-04-04 22:41:49 -05:00
Rich-Harris
b8705a5b0c turn dom generator visitors into functions 2017-04-04 23:17:02 -04:00
Rich-Harris
e7d324f305 visitors can just be functions now 2017-04-04 23:10:52 -04:00
Rich-Harris
2d4f9eac00 make visitors responsible for visiting their own children 2017-04-04 22:55:30 -04:00
Rich Harris
00f1eaee12 remove this._callbacks 2017-04-04 18:15:07 -04:00
Rich Harris
77eee8602d remove some long-since obsolete generator code 2017-04-04 17:55:44 -04:00
Rich Harris
f43e71b959 remove #433 test for now 2017-04-04 17:55:31 -04:00
Rich Harris
803d1d2746 move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 2017-04-04 12:05:54 -04:00