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
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
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
Rich Harris
399db5d08a
Merge pull request #97 from sveltejs/sourcemaps
...
Sourcemaps
2016-12-02 11:33:46 -05:00
Rich-Harris
57f94d4d0b
upgrade magic-string, fix sourcemaps
2016-12-02 11:26:16 -05:00
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
2016-12-02 20:51:42 +09:00
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
2016-12-02 20:40:55 +09:00
Rich Harris
695cfd01c9
more sourcemap stuff
2016-12-01 17:37:23 -05:00
Fabrice Weinberg
4b9832f03a
Convert entities of all text nodes
2016-12-01 21:30:50 +01:00
Rich-Harris
5e8a25fe65
add infrastructure for sourcemap tests
2016-12-01 11:50:10 -05:00
Rich Harris
4f6a49b039
Merge pull request #83 from TehShrike/patch-1
...
Adding link to Browserify transform
2016-12-01 10:52:53 -05:00
Josh Duff
aa3d099869
Adding link to Browserify transform
2016-12-01 09:45:49 -06:00
Rich-Harris
4d186aa1b0
dont use options.filename for original code when generating magicstring bundle ( #43 )
2016-12-01 09:40:39 -05:00
Rich-Harris
496eff7e54
lint
2016-12-01 09:11:26 -05:00
Rich-Harris
47f1e83105
resolve merge conflict
2016-12-01 09:05:34 -05:00
Rich-Harris
65008f7cbe
-> v1.0.5
2016-12-01 09:01:44 -05:00
Rich Harris
fb05cdc378
Merge pull request #78 from shinnn/ci
...
Improve Travis CI configs
2016-12-01 08:57:57 -05:00
Rich Harris
f9b596c5e3
Merge pull request #82 from sveltejs/gh-75
...
prevent compiler from generating ES2015+ code
2016-12-01 08:57:32 -05:00
Rich Harris
b3acc6d9e6
Merge pull request #76 from guzart/return-state-wihout-key
...
return state when using get without key
2016-12-01 08:56:48 -05:00
Rich-Harris
56b4fbcea2
prevent compiler from generating ES2015+ code
2016-12-01 08:54:56 -05:00
Arpad Borsos
348c5e4656
various optimizations
...
* avoid teardown for nested textnodes
* avoid detaching children of a nested each
2016-12-01 11:35:51 +01:00
Shinnosuke Watanabe
e4aefe479d
use a valid nvm version ID instead of the deprecated one
...
ref. 9972de6dec
> `stable`: this alias is deprecated
2016-12-01 18:07:36 +09:00
Shinnosuke Watanabe
0c9be4bb06
remove unnecessary sudo
field
...
ref. https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
> `sudo: false` default for repositories enabled in 2015 or later
2016-12-01 18:06:42 +09:00
Arturo Guzman
a55b2374ae
return state when using get without key
...
References #73
2016-11-30 21:28:26 -05:00
Rich Harris
a59dc64880
-> v1.0.4
2016-11-30 17:39:56 -05:00
Rich Harris
1de87945db
Merge pull request #71 from sveltejs/gh-63
...
handle empty attributes in elements and components
2016-11-30 17:38:01 -05:00
Rich Harris
14e4684f84
Merge pull request #72 from sveltejs/gh-62
...
remove text nodes when removing iterations of each block
2016-11-30 17:37:56 -05:00
Rich Harris
9ba18c6d13
increase test coverage
2016-11-30 17:22:20 -05:00
Rich Harris
be8a564845
remove text nodes when removing iterations of each block ( #62 )
2016-11-30 17:11:15 -05:00
Rich Harris
7b15ff93ac
handle empty attributes in elements and components. fixes #63
2016-11-30 16:38:17 -05:00
Rich Harris
8a3f81363d
-> v1.0.3
2016-11-30 16:24:20 -05:00
Rich Harris
e4a9344bdb
Merge pull request #70 from sveltejs/gh-64
...
handle trailing comments in script tags
2016-11-30 16:20:17 -05:00
Rich Harris
5a2e5c2510
Merge pull request #28 from Swatinem/optimize_if
...
optimize generated code for if statements
2016-11-30 16:19:59 -05:00