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

7325 Commits

Author SHA1 Message Date
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
Rich Harris
68605071e7 Merge pull request #49 from Swatinem/elseif-whitespace
also trim whitespace from elseif/else blocks
2016-11-30 16:04:32 -05:00
Rich Harris
0040b7c81b Merge pull request #38 from Swatinem/patch-1
Remove and ignore coverage.lcov
2016-11-30 16:02:13 -05:00
Rich Harris
d152e57968 Merge branch 'master' of https://github.com/sveltejs/svelte 2016-11-30 16:01:21 -05:00
Rich Harris
db65f01ee3 handle trailing comments in script tags – closes #64 2016-11-30 16:01:11 -05:00
Rich Harris
0cee0a7d7e test that default data is overridden 2016-11-30 15:35:05 -05:00
Arpad Borsos
8518065c97
also trim whitespace from elseif/else blocks 2016-11-30 11:09:08 +01:00
Arpad Borsos
64f8e77999
optimize generated code for if statements
Instead of walking elseif statements recursively, collect all the
conditions and blocks into a single if block
2016-11-30 10:12:30 +01:00
Rich-Harris
fd9dc9033a -> v1.0.2 2016-11-29 23:23:07 -05:00
Rich-Harris
be03b76950 use style.cssText rather than style (#44) 2016-11-29 23:21:56 -05:00
Arpad Borsos
444216801c Update .gitignore 2016-11-29 22:53:16 +01:00
Arpad Borsos
2a86cd9771 Delete coverage.lcov 2016-11-29 22:52:09 +01:00
Rich Harris
edb3946ba6 add failing but skipped test 2016-11-29 13:31:33 -05:00
Rich Harris
f95656c561 -> v1.0.1 2016-11-29 11:42:45 -05:00
Rich Harris
da980983c6 retain SVG namespace inside each blocks 2016-11-29 11:40:35 -05:00
Rich Harris
621fc92b1c dont use property names with SVG elements 2016-11-29 11:33:03 -05:00
Rich Harris
aab6df51fd -> v1.0.0 2016-11-29 10:57:44 -05:00
Rich Harris
7266f52ad9 add readme 2016-11-29 10:57:39 -05:00
Rich Harris
36a4befc3e Merge pull request #31 from Swatinem/insert-before-anchor
correctly insert non-element children before an anchor
2016-11-29 10:38:31 -05:00
Arpad Borsos
b63a54b502
correctly insert non-element children before an anchor 2016-11-29 13:06:09 +01:00
Rich-Harris
ad4726ce76 argh i have no idea what im doing 2016-11-27 08:49:25 -05:00
Rich-Harris
5ba66c6511 whoops 2016-11-27 08:34:54 -05:00