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
Rich Harris
def48e2c1d
Merge pull request #111 from sveltejs/component-codegen
...
move component codegen into its own file
2016-12-04 21:20:44 -05:00
Rich-Harris
f699b610a8
add changes from #112 to #111
2016-12-04 21:19:47 -05:00
Rich-Harris
d94209ba31
show code for all compiled components if config.show, not just main.html
2016-12-04 21:10:14 -05:00
Rich-Harris
306a931176
test update while yield fragment is torn down, and tweak code for consistency
2016-12-04 21:09:06 -05:00
Rich-Harris
4210c238d4
separate detach statements, per #110
2016-12-04 21:07:45 -05:00
Rich-Harris
172f0c9d6b
Merge branch 'yield-next' of https://github.com/FWeinb/svelte into FWeinb-yield-next
2016-12-04 20:35:10 -05:00
Rich-Harris
efde762565
move examples into own section
2016-12-04 20:27:42 -05:00
Rich-Harris
42b917968d
Merge branch 'svelte-example' of https://github.com/charpeni/svelte into charpeni-svelte-example
2016-12-04 20:26:32 -05:00
Rich Harris
1d7bbf6c73
Merge pull request #116 from nikku/patch-1
...
Correct README to use onwarn
2016-12-04 20:23:36 -05:00
Rich Harris
3935d05270
Merge pull request #115 from nikku/validate-computed-prop
...
Verify computed property dependencies
2016-12-04 20:23:11 -05:00
Rich Harris
6f2ce42d67
Merge pull request #110 from mrkishi/detach-statements
...
Improve teardown code by unifying detach branches
2016-12-04 20:16:56 -05:00
Fabrice Weinberg
cc7c92a6f6
Fix linting issues
2016-12-05 00:59:28 +01:00
Fabrice Weinberg
6c473a3466
Initial implementation of {{yield}}-generator
2016-12-05 00:56:45 +01:00
Nicolas Charpentier
e2afbaa5c4
Add charpeni/svelte-example into README tools
2016-12-04 18:17:00 -05:00
Nico Rehwaldt
6131f69fc3
Correct README to use onwarn
...
Seems like it is public API: https://github.com/sveltejs/svelte/blob/master/compiler/index.js#L8 .
2016-12-04 21:28:27 +01:00
Nico Rehwaldt
65cdead991
Verify computed property dependencies
...
Improves the validator to fail if someone forgets to declare
dependent properties for computed state:
```
export default {
computed: {
bar: () => { return new Date().getTime(); }
}
};
```
2016-12-04 21:22:48 +01:00
Fabrice Weinberg
49629c5403
remove superficial yield.js
2016-12-04 17:56:05 +01:00
Arpad Borsos
b75bb29408
move component codegen into its own file
2016-12-04 17:37:08 +01:00
Fabrice Weinberg
4bcbdfb5ae
Parse {{yield}} as YieldTag
2016-12-04 17:13:54 +01:00
mrkishi
119ad1432a
Improve teardown code by unifying detach branches
2016-12-04 13:56:42 -02:00
Fabrice Weinberg
52815b3313
Merge remote-tracking branch 'sveltejs/master'
...
* sveltejs/master:
keep target and anchor inside mount method
rename parent to root
Fix typo in generator's contextualise; solves #46
fix onrender hook for nested widgets
add a createAnchor helper
various refactorings & fixes
separate create from mount
2016-12-04 16:46:32 +01:00
Rich Harris
5770048855
Merge pull request #107 from sveltejs/Swatinem-separatemount
...
#91 again
2016-12-04 10:14:09 -05:00
Rich-Harris
9463f5fe54
keep target and anchor inside mount method
2016-12-04 09:34:45 -05:00
Rich-Harris
7654437d7b
resolve merge conflicts
2016-12-04 09:16:15 -05:00
Rich Harris
9d6e947dd0
Merge pull request #101 from Swatinem/refactors
...
various refactorings & fixes
2016-12-04 09:02:03 -05:00
Rich-Harris
76b9c37f13
Merge branch 'master' of https://github.com/sveltejs/svelte
2016-12-04 09:02:16 -05:00
Rich-Harris
7ea45ee32b
rename parent to root
2016-12-04 09:01:35 -05:00
Rich Harris
faefbd0958
Merge pull request #105 from mrkishi/issue-46
...
Fix typo in generator's contextualise; solves #46
2016-12-04 08:49:18 -05:00
mrkishi
bf12bb54a7
Fix typo in generator's contextualise; solves #46
2016-12-03 22:09:38 -02:00
Arpad Borsos
19c376f032
fix onrender hook for nested widgets
2016-12-03 13:15:16 +01:00
Arpad Borsos
3f300c9b71
add a createAnchor helper
2016-12-03 11:57:09 +01:00
Arpad Borsos
c1ba15875e
various refactorings & fixes
...
* fix some code style issues
* refactor around createMountStatement
* fix non-toplevel if blocks and elements being detached
2016-12-03 11:44:08 +01:00
Arpad Borsos
a80dcda2e0
separate create from mount
2016-12-03 10:46:59 +01:00
Fabrice Weinberg
746d5583ba
Merge remote-tracking branch 'sveltejs/master'
...
* sveltejs/master:
-> v1.0.7
use decodeCharacterReferences in text.js, not tag.js
-> v1.0.6
upgrade magic-string, fix sourcemaps
add .json extension to the ESLint config file
add links to gulp/Metalsmith plugins
more sourcemap stuff
Convert entities of all text nodes
add infrastructure for sourcemap tests
Adding link to Browserify transform
dont use options.filename for original code when generating magicstring bundle (#43 )
2016-12-02 20:18:56 +01:00
Rich-Harris
e09a39d34f
-> v1.0.7
2016-12-02 11:48:41 -05:00
Rich-Harris
ccea50abdd
Merge branch 'master' of https://github.com/sveltejs/svelte
2016-12-02 11:44:15 -05:00
Rich-Harris
90fac61d2a
use decodeCharacterReferences in text.js, not tag.js
2016-12-02 11:44:00 -05:00
Rich-Harris
84c9f647dd
Merge branch 'fix-entities' of https://github.com/FWeinb/svelte into FWeinb-fix-entities
2016-12-02 11:38:25 -05:00
Rich-Harris
553157bdd9
-> v1.0.6
2016-12-02 11:36:05 -05:00
Rich Harris
56a858c640
Merge pull request #94 from shinnn/plugins
...
Add links to gulp and Metalsmith plugins
2016-12-02 11:35:55 -05:00
Rich Harris
e46f49beec
Merge pull request #95 from shinnn/ext
...
Add .json extension to the ESLint config file
2016-12-02 11:35:27 -05:00