Arpad Borsos
fec55a1ccd
add each-else support to parser
8 years ago
Rich Harris
def48e2c1d
Merge pull request #111 from sveltejs/component-codegen
...
move component codegen into its own file
8 years ago
Rich-Harris
f699b610a8
add changes from #112 to #111
8 years ago
Rich-Harris
d94209ba31
show code for all compiled components if config.show, not just main.html
8 years ago
Rich-Harris
306a931176
test update while yield fragment is torn down, and tweak code for consistency
8 years ago
Rich-Harris
4210c238d4
separate detach statements, per #110
8 years ago
Rich-Harris
172f0c9d6b
Merge branch 'yield-next' of https://github.com/FWeinb/svelte into FWeinb-yield-next
8 years ago
Rich-Harris
efde762565
move examples into own section
8 years ago
Rich-Harris
42b917968d
Merge branch 'svelte-example' of https://github.com/charpeni/svelte into charpeni-svelte-example
8 years ago
Rich Harris
1d7bbf6c73
Merge pull request #116 from nikku/patch-1
...
Correct README to use onwarn
8 years ago
Rich Harris
3935d05270
Merge pull request #115 from nikku/validate-computed-prop
...
Verify computed property dependencies
8 years ago
Rich Harris
6f2ce42d67
Merge pull request #110 from mrkishi/detach-statements
...
Improve teardown code by unifying detach branches
8 years ago
Fabrice Weinberg
cc7c92a6f6
Fix linting issues
8 years ago
Fabrice Weinberg
6c473a3466
Initial implementation of {{yield}}-generator
8 years ago
Nicolas Charpentier
e2afbaa5c4
Add charpeni/svelte-example into README tools
8 years ago
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 .
8 years ago
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(); }
}
};
```
8 years ago
Fabrice Weinberg
49629c5403
remove superficial yield.js
8 years ago
Arpad Borsos
b75bb29408
move component codegen into its own file
8 years ago
Fabrice Weinberg
4bcbdfb5ae
Parse {{yield}} as YieldTag
8 years ago
mrkishi
119ad1432a
Improve teardown code by unifying detach branches
8 years ago
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
8 years ago
Rich Harris
5770048855
Merge pull request #107 from sveltejs/Swatinem-separatemount
...
#91 again
8 years ago
Rich-Harris
9463f5fe54
keep target and anchor inside mount method
8 years ago
Rich-Harris
7654437d7b
resolve merge conflicts
8 years ago
Rich Harris
9d6e947dd0
Merge pull request #101 from Swatinem/refactors
...
various refactorings & fixes
8 years ago
Rich-Harris
76b9c37f13
Merge branch 'master' of https://github.com/sveltejs/svelte
8 years ago
Rich-Harris
7ea45ee32b
rename parent to root
8 years ago
Rich Harris
faefbd0958
Merge pull request #105 from mrkishi/issue-46
...
Fix typo in generator's contextualise; solves #46
8 years ago
mrkishi
bf12bb54a7
Fix typo in generator's contextualise; solves #46
8 years ago
Arpad Borsos
19c376f032
fix onrender hook for nested widgets
8 years ago
Arpad Borsos
3f300c9b71
add a createAnchor helper
8 years ago
Arpad Borsos
c1ba15875e
various refactorings & fixes
...
* fix some code style issues
* refactor around createMountStatement
* fix non-toplevel if blocks and elements being detached
8 years ago
Arpad Borsos
a80dcda2e0
separate create from mount
8 years ago
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 )
8 years ago
Rich-Harris
e09a39d34f
-> v1.0.7
8 years ago
Rich-Harris
ccea50abdd
Merge branch 'master' of https://github.com/sveltejs/svelte
8 years ago
Rich-Harris
90fac61d2a
use decodeCharacterReferences in text.js, not tag.js
8 years ago
Rich-Harris
84c9f647dd
Merge branch 'fix-entities' of https://github.com/FWeinb/svelte into FWeinb-fix-entities
8 years ago
Rich-Harris
553157bdd9
-> v1.0.6
8 years ago
Rich Harris
56a858c640
Merge pull request #94 from shinnn/plugins
...
Add links to gulp and Metalsmith plugins
8 years ago
Rich Harris
e46f49beec
Merge pull request #95 from shinnn/ext
...
Add .json extension to the ESLint config file
8 years ago
Rich Harris
399db5d08a
Merge pull request #97 from sveltejs/sourcemaps
...
Sourcemaps
8 years ago
Rich-Harris
57f94d4d0b
upgrade magic-string, fix sourcemaps
8 years ago
Shinnosuke Watanabe
cd51495bc2
add .json extension to the ESLint config file
...
According to the ESLint release note http://eslint.org/blog/2015/11/eslint-v1.10.0-released#configuration-file-formats ):
> We are formally deprecating use of the `.eslintrc` extensionless configuration file format in favor the format-specific versions. Don't worry, we'll still support `.eslintrc` files for a long time, but we'd like to encourage everyone to move to the new file formats as you'll get advantages such as syntax highlighting and error detection with many editors.
Actually, Github doesn't highlight `.eslintrc` contents, but does well for `.eslintrc.yml`.
59681635dc/.eslintrc
72e007a88f/.eslintrc.yml
8 years ago
Shinnosuke Watanabe
db3f210ca1
add links to gulp/Metalsmith plugins
...
gulp-svelte
https://github.com/shinnn/gulp-svelte
https://www.npmjs.com/package/gulp-svelte
metalsmith-svelte
https://github.com/shinnn/metalsmith-svelte
https://www.npmjs.com/package/metalsmith-svelte
8 years ago
Rich Harris
695cfd01c9
more sourcemap stuff
8 years ago
Fabrice Weinberg
4b9832f03a
Convert entities of all text nodes
8 years ago
Rich-Harris
5e8a25fe65
add infrastructure for sourcemap tests
8 years ago
Rich Harris
4f6a49b039
Merge pull request #83 from TehShrike/patch-1
...
Adding link to Browserify transform
8 years ago