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

125 Commits

Author SHA1 Message Date
Rich-Harris
d84adbf243 try to get coverage working again 2016-11-27 08:32:03 -05:00
Rich-Harris
46184e593d huh, coverage is failing 2016-11-27 08:18:11 -05:00
Rich-Harris
fb5dd95bb0 IIFE and UMD builds (#27) 2016-11-26 18:49:26 -05:00
Rich-Harris
fa5bbbee9f implement AMD and CommonJS outout formats (#27) 2016-11-26 15:13:03 -05:00
Rich-Harris
6b677f61ec -> v0.3.0 2016-11-26 13:01:10 -05:00
Rich-Harris
2fd833c09e only detach each anchors if necessary 2016-11-26 12:49:34 -05:00
Rich-Harris
78667bc920 only detach nodes if necessary (fixes #26) 2016-11-26 12:48:47 -05:00
Rich-Harris
0f464d79b2 only fire onrender hooks once component is in the DOM – fixes #18 2016-11-26 12:29:39 -05:00
Rich-Harris
8b365084e6 linting 2016-11-26 11:37:48 -05:00
Rich-Harris
c199407db2 more validation 2016-11-26 11:34:16 -05:00
Rich-Harris
0698525f1b basic validation 2016-11-26 10:52:25 -05:00
Rich-Harris
c1d230d625 only set ref to null when tearing down if it is still current – closes #24 2016-11-25 22:35:41 -05:00
Rich-Harris
4d842ab8a2 -> v0.2.2 2016-11-25 18:01:27 -05:00
Rich-Harris
541f4ccc1b -> v0.2.1 2016-11-25 17:26:45 -05:00
Rich-Harris
507c9eb1a3 oops 2016-11-25 16:24:57 -05:00
Rich-Harris
d22fcb5026 -> v0.2.0 2016-11-25 15:52:43 -05:00
Rich-Harris
ad1f15d01f -> v0.2.0 2016-11-25 15:52:28 -05:00
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