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

267 Commits

Author SHA1 Message Date
Rich Harris
6d890f1a65 Merge pull request #148 from sveltejs/gh-1
Server-side rendering
2016-12-07 14:45:28 -05:00
Rich Harris
48106e8086 another lint fix 2016-12-07 12:39:45 -05:00
Rich Harris
0adca46bda fix lint task 2016-12-07 12:17:27 -05:00
Rich Harris
bb9e48a309 rename folders to remove .gitignore confusion 2016-12-07 12:03:10 -05:00
Rich Harris
bf1ef35387 update gitignore 2016-12-07 11:54:10 -05:00
Rich Harris
2c3cbf672b add SSR tests 2016-12-07 11:53:15 -05:00
Arpad Borsos
83e9ed9111
add a failing test for svg rendered via child component 2016-12-07 17:51:59 +01:00
Rich Harris
e5b9ca3638 test with correct files 2016-12-07 11:46:08 -05:00
Rich Harris
7684afb2f8 move files into src in preparation for SSR integration 2016-12-07 11:43:43 -05:00
Rich Harris
ddb31b6e9e add webpack loader 2016-12-07 11:19:11 -05:00
Fabrice Weinberg
d7dbecc993 Switch from Map to Set 2016-12-07 14:39:52 +01:00
Arpad Borsos
b5216999f3
factor generateBlock out as a generator helper function 2016-12-07 14:08:45 +01:00
Arpad Borsos
fd43dfc6d6 Merge pull request #146 from sveltejs/pass-no-options
Make passing options to component optional
2016-12-07 13:52:22 +01:00
Arpad Borsos
2df6ef07b6
remove useAnchor, its unused 2016-12-07 13:45:36 +01:00
Fabrice Weinberg
65b10f6d5e Make passing options to component optional 2016-12-07 13:45:33 +01:00
Rich-Harris
ecf05ad36e -> v1.1.3 2016-12-06 22:25:29 -05:00
Rich Harris
b81ff3e73d Merge pull request #138 from sveltejs/gh-137
require void elements to be lowercase
2016-12-06 22:21:50 -05:00
Rich Harris
ac9e98f87d Merge pull request #143 from sveltejs/gh-142
don't render whitespace text nodes inside SVG elements
2016-12-06 22:20:26 -05:00
Rich-Harris
a72955faa2 fix typo, disallow multiple style/script tags 2016-12-06 22:18:49 -05:00
Rich-Harris
d3a2ff243a handle xmlns attributes correctly 2016-12-06 22:09:11 -05:00
Rich-Harris
abbd605091 dont render text nodes inside SVG elements (#142) 2016-12-06 22:01:39 -05:00
Rich-Harris
06a5169eeb require void elements to be lowercase – fixes #137 2016-12-06 18:41:20 -05:00
Rich Harris
384e724c4c Merge pull request #135 from sveltejs/uniq-elem-attrs
Make sure parser only allows unique attribute names
2016-12-06 18:36:07 -05:00
Fabrice Weinberg
1131a44383 Remove superfluous return. 2016-12-07 00:11:48 +01:00
Rich Harris
696caa8f31 update license with link to contributors page 2016-12-06 17:41:01 -05:00
Fabrice Weinberg
53ad868525 Enable working tests 2016-12-06 23:22:40 +01:00
Fabrice Weinberg
75cf9d16ce Make sure parser only allows unique attribute names 2016-12-06 23:11:30 +01:00
Rich Harris
657830354a Update README.md 2016-12-06 14:46:22 -05:00
Rich Harris
3c2c6752ba -> v1.1.2 2016-12-06 12:31:59 -05:00
Rich Harris
26d3f935a8 Merge pull request #134 from sveltejs/gh-88
Deconflict variable names
2016-12-06 12:30:40 -05:00
Rich Harris
4d3dcb6493 fix test 2016-12-06 12:26:23 -05:00
Rich Harris
ddfc3e9f1e additional test for #88, from #126 2016-12-06 12:24:57 -05:00
Rich Harris
659eb32bc5 deconflict names. fixes #88 2016-12-06 12:13:24 -05:00
Rich Harris
0e64f26712 gather names during validation, for later deoncflicting (#88) 2016-12-06 11:48:24 -05:00
Rich Harris
f94df9fb6d avoid empty if () condition when updating each blocks with indices 2016-12-06 11:16:00 -05:00
Rich Harris
53c6b8768d -> v1.1.1 2016-12-06 10:22:56 -05:00
Rich Harris
8f9a41cf00 Merge pull request #131 from sveltejs/gh-130
allow multiple SVGs
2016-12-06 10:19:04 -05:00
Rich Harris
1d941abddc allow multiple SVGs - fixes #130 2016-12-06 10:14:14 -05:00
Rich-Harris
29a81cb291 -> v1.1.0 2016-12-06 00:02:36 -05:00
Rich Harris
f5b78e406c Merge pull request #122 from sveltejs/each-else
Support {{#each}}-{{else}}
2016-12-05 23:53:44 -05:00
Rich Harris
4a89354409 Merge pull request #124 from sveltejs/raw-mustaches
Raw mustaches
2016-12-05 23:52:48 -05:00
Arpad Borsos
108f741092 Merge pull request #125 from mrkishi/detach
Improve teardown code
2016-12-05 16:56:29 +01:00
Arpad Borsos
469bc19d90 Merge pull request #121 from sveltejs/toolconfigs
add editorconfig and flowconfig files
2016-12-05 16:56:07 +01:00
mrkishi
3498d6d0c6 Clean up generated teardown code for empty cases 2016-12-05 12:15:15 -02:00
mrkishi
88486ba6de Fix detach statements regression 2016-12-05 11:56:17 -02:00
Arpad Borsos
91903cb927
add codegen support for raw mustache tags 2016-12-05 14:55:05 +01:00
Arpad Borsos
9187c2dd09
add parser support for raw mustache tags 2016-12-05 14:13:57 +01:00
Arpad Borsos
ce05c6c8a3
add editorconfig and flowconfig files
This does *not* mean that svelte is using flow (yet ? :-), it is only
that people using flow for code completion get some meaningful results
instead of flow complaining about a missing .flowconfig file.

The editorconfig is so that people who use spaces by default get their
editor using tabs like expected.
2016-12-05 10:02:55 +01:00
Arpad Borsos
5d256eb600
add support for each-else in codegen 2016-12-05 09:58:39 +01:00
Arpad Borsos
fec55a1ccd
add each-else support to parser 2016-12-05 09:29:53 +01:00