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

7408 Commits

Author SHA1 Message Date
Rich-Harris
8704d38503 use MagicString.Bundle for better sourcemap support 2016-11-24 11:18:52 -05:00
Rich-Harris
04388f7a0e initialise fragments with data, rather than waiting for first update 2016-11-23 23:51:28 -05:00
Rich-Harris
7736866397 better solution for preventing blowback with inter-component bindings, also fixes #19 2016-11-23 15:57:51 -05:00
Rich-Harris
20bf76b578 component is context for custom event handlers 2016-11-23 13:20:02 -05:00
Rich-Harris
170f4210bc refactor slightly 2016-11-23 12:35:34 -05:00
Rich-Harris
c523fc74aa only update components if their dependencies have changed 2016-11-23 12:32:30 -05:00
Rich-Harris
978a2bcae7 some more tests 2016-11-23 10:47:49 -05:00
Rich-Harris
2ed34f4fe2 remove top-level text nodes on teardown 2016-11-23 10:47:36 -05:00
Rich-Harris
817d371826 fix readUntil infinite loop bug 2016-11-23 08:56:58 -05:00
Rich-Harris
b233bbf404 indent init statement 2016-11-22 23:01:25 -05:00
Rich-Harris
ad79ce6ec5 throw if template is not a string 2016-11-22 23:00:44 -05:00
Rich-Harris
4ba76b09c2 test depends on build, not the other way round 2016-11-22 23:00:28 -05:00
Rich-Harris
f3d635fe60 basic <select> binding 2016-11-22 21:07:31 -05:00
Rich-Harris
50a02cc344 handle missing data 2016-11-22 19:08:26 -05:00
Rich-Harris
48ce1c9054 fix component boolean attributes 2016-11-22 17:45:51 -05:00
Rich-Harris
8e96699044 prevent infinite set loops 2016-11-22 17:34:06 -05:00
Rich-Harris
bbdb87adac test deeply nested bindings 2016-11-22 17:16:28 -05:00
Rich-Harris
54b713ce5a prevent infinite observe loops 2016-11-22 16:52:16 -05:00
Rich-Harris
2741eee8bf bind:foo shorthand – closes #20 2016-11-22 16:52:04 -05:00
Rich-Harris
cf1a80a28f component two-way bindings 2016-11-22 16:14:58 -05:00
Rich-Harris
22751e9ba4 include dist files in package 2016-11-22 16:14:29 -05:00
Rich-Harris
b1b47696b1 implement elseif 2016-11-22 13:58:37 -05:00
Rich-Harris
8a2813fb4b add assert.htmlEqual helper 2016-11-22 13:20:42 -05:00
Rich-Harris
1b8c2ff4f3 pass assert into tests 2016-11-22 12:37:14 -05:00
Rich-Harris
c79b38ff6a implement else blocks 2016-11-22 12:31:04 -05:00
Rich-Harris
77b600d726 add {{else}} tests 2016-11-22 11:56:09 -05:00
Rich-Harris
61c9105c2a enable console.group 2016-11-22 11:55:34 -05:00
Rich-Harris
0f721e346d skip coverage when testing locally 2016-11-22 11:55:06 -05:00
Rich-Harris
81cb88cfc1 hoist imports 2016-11-22 09:30:54 -05:00
Rich-Harris
4685c1e813 -> v0.1.1 2016-11-22 08:04:31 -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
abd8b77106 test custom events 2016-11-21 16:41:47 -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
7adfd51649 failing component test 2016-11-21 13:05:14 -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
4e3e6a45b6 test leading whitespace in template 2016-11-21 07:47:17 -05:00
Rich-Harris
a82b2e9e05 add parser.error coverage 2016-11-21 07:22:07 -05:00
Rich-Harris
615a0018fd code coverage 2016-11-21 07:07:42 -05:00
Rich-Harris
6948e79f03 add missing rollup dependency 2016-11-20 23:07:14 -05:00
Rich-Harris
ff4f0a952c -> v0.1.0 2016-11-20 22:57:07 -05:00