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

67 Commits

Author SHA1 Message Date
Rich-Harris
b1b47696b1 implement elseif 2016-11-22 13:58:37 -05:00
Rich-Harris
c79b38ff6a implement else blocks 2016-11-22 12:31:04 -05:00
Rich-Harris
81cb88cfc1 hoist imports 2016-11-22 09:30:54 -05:00
Rich-Harris
26a436fb87 rename template to source in generator, to avoid confusion 2016-11-22 07:43:37 -05:00
Rich-Harris
632a980948 wrap script block in IIFE to prevent pollution 2016-11-22 07:41:59 -05:00
Rich-Harris
370db7d269 scoped css 2016-11-21 20:01:22 -05:00
Rich-Harris
24e768e4d2 component events 2016-11-21 17:33:29 -05:00
Rich-Harris
6eeff1960c add on and fire methods 2016-11-21 16:36:55 -05:00
Rich-Harris
2686508af3 dynamic component data 2016-11-21 16:17:42 -05:00
Rich-Harris
d27e99d239 support static data and refs on components 2016-11-21 15:25:16 -05:00
Rich-Harris
49ac172bef simple component 2016-11-21 15:06:35 -05:00
Rich-Harris
5b397b781b modularize visitors 2016-11-21 13:47:09 -05:00
Rich-Harris
191d776692 refactor generator to make it easier to modularise 2016-11-21 13:22:41 -05:00
Rich-Harris
0d4728faf2 fix entities in attributes 2016-11-21 11:26:54 -05:00
Rich-Harris
4ce0f2fd58 handle unquoted attribute values 2016-11-21 08:23:48 -05:00
Rich-Harris
1eb3b7373e test inline expression parse errors 2016-11-21 07:54:27 -05:00
Rich-Harris
a82b2e9e05 add parser.error coverage 2016-11-21 07:22:07 -05:00
Rich-Harris
4a5d4f482b constructors not factories – closes #2 2016-11-20 22:52:42 -05:00
Rich-Harris
55f3ba1a30 support SVG 2016-11-20 16:25:23 -05:00
Rich-Harris
92ba62e289 handle autofocus edge case 2016-11-20 13:11:08 -05:00
Rich-Harris
b743e54c24 autofocus 2016-11-20 12:56:13 -05:00
Rich-Harris
c2daa66b3c remove elements at end of teardown sequence 2016-11-20 12:40:37 -05:00
Rich-Harris
44a2fd31f6 refs 2016-11-20 12:09:42 -05:00
Rich-Harris
ce79d3eca5 targeted updates of deep contextual bindings 2016-11-20 11:52:04 -05:00
Rich-Harris
240b00dd68 custom events 2016-11-20 10:42:06 -05:00
Rich-Harris
d7dc941ae8 better sourcemaps 2016-11-20 10:14:45 -05:00
Rich-Harris
48fb01cf7e deep/contextual binding 2016-11-20 09:58:08 -05:00
Rich-Harris
2aeaaa24b6 more binding stuff 2016-11-20 07:26:04 -05:00
Rich-Harris
263a08f155 first stab at deep two-way binding 2016-11-19 22:56:37 -05:00
Rich-Harris
fa60968ae1 basic two-way binding 2016-11-19 22:25:02 -05:00
Rich-Harris
3560bbe85e fix insertion bug 2016-11-19 21:32:10 -05:00
Rich-Harris
06f5f787f9 inline expressions are now... inline 2016-11-19 20:57:33 -05:00
Rich-Harris
5d9ebb9a39 simplify lifecycle 2016-11-19 19:33:16 -05:00
Rich-Harris
b8ddb16d5f lifecycle methods 2016-11-19 19:25:57 -05:00
Rich-Harris
7569cf60c0 fix dynamic attributes 2016-11-19 19:06:17 -05:00
Rich-Harris
f136f951b3 helpers 2016-11-19 18:32:33 -05:00
Rich-Harris
49a6aeb190 if block expressions 2016-11-19 18:02:23 -05:00
Rich-Harris
c1204e57b0 expressions in if and each blocks 2016-11-19 17:52:23 -05:00
Rich-Harris
c02e849cb5 parse comments 2016-11-19 17:14:15 -05:00
Rich-Harris
7950d0a275 fix attributes with mustache tag as final chunk 2016-11-19 17:08:49 -05:00
Rich-Harris
a08cb44377 code frames 2016-11-19 16:43:37 -05:00
Rich-Harris
43c257b62e index in each blocks 2016-11-19 16:08:46 -05:00
Rich-Harris
8c8b6ccfa4 parse each block index 2016-11-19 15:56:58 -05:00
Rich-Harris
4a32e59f2e allow multiple attributes 2016-11-19 15:22:26 -05:00
Rich-Harris
3ef3229075 complex dynamic attributes 2016-11-19 15:08:12 -05:00
Rich-Harris
cb9b00254b more attribute parsing 2016-11-19 14:53:00 -05:00
Rich-Harris
e3e91d45ea parse attributes 2016-11-19 13:10:20 -05:00
Rich-Harris
9fd6c3d408 inline expressions 2016-11-19 12:12:56 -05:00
Rich-Harris
9ff58cdb41 computed values 2016-11-19 11:52:08 -05:00
Rich-Harris
8bce418b25 fix labels 2016-11-19 11:03:44 -05:00