Rich Harris
015ef56b18
make transitionManager treeshakeable ( fixes #593 )
2017-05-27 09:57:42 -04:00
Rich Harris
34170a5e76
compare bundled output with expectations
2017-05-27 09:52:33 -04:00
Rich Harris
1e14a62654
Merge branch 'master' of https://github.com/hville/svelte into hville-master
2017-05-27 09:08:56 -04:00
Rich Harris
2799aabb89
Merge pull request #596 from marvinhagemeister/ts_types
...
Fix some typing errors
2017-05-27 09:02:05 -04:00
Marvin Hagemeister
61cbb25aef
Fix typing errors
2017-05-26 12:32:30 +02:00
hville
2d6af10d43
minor fixes - redundant conditions and loops
2017-05-26 00:58:47 +08:00
Rich Harris
84a1571eed
Merge pull request #573 from sveltejs/typescript
...
[WIP] Convert to TypeScript
2017-05-21 21:26:03 -04:00
Rich-Harris
5cbe6b764a
more TS
2017-05-21 21:18:24 -04:00
Rich-Harris
0b8cf4cef7
add back initialiser
2017-05-21 21:01:20 -04:00
Rich-Harris
4486b93d88
more TS
2017-05-21 20:56:23 -04:00
Rich-Harris
dc82db609c
more TS
2017-05-21 19:18:21 -04:00
Rich-Harris
78adc5b226
more TS
2017-05-21 18:52:24 -04:00
Rich-Harris
4d5107113e
more TS
2017-05-21 18:05:11 -04:00
Rich-Harris
48384b846c
typescriptify validator
2017-05-21 17:40:36 -04:00
Rich-Harris
7c3fca57cf
more typescript conversion
2017-05-21 16:59:10 -04:00
Rich-Harris
b619d077a1
Merge branch 'master' into typescript
2017-05-21 15:22:09 -04:00
Rich Harris
2194de9b28
Merge pull request #591 from sveltejs/gh-590
...
On `<select>`, don't try generating prop code until visiting attributes
2017-05-21 15:20:41 -04:00
Rich Harris
7c2fd8e3cd
Merge pull request #580 from sveltejs/gh-579
...
downgrade invalid callee error for event handlers to a warning
2017-05-21 15:19:53 -04:00
Conduitry
5c0d40233a
add failing unit test for #592
2017-05-21 08:23:59 -04:00
Conduitry
a3860f277e
add unit test
2017-05-18 22:20:19 -04:00
Conduitry
228417e1dc
fix special props on <select>
elements ( #590 )
...
When visiting `<select>` elements, don't try to add props until after
the (delayed) visiting of the attributes, as that's when we determine
what the props should be.
2017-05-18 22:04:41 -04:00
Conduitry
4c740513f8
downgrade invalid callee error for event handlers to a warning ( #579 )
2017-05-10 08:01:26 -04:00
Rich-Harris
8d07a5f9bd
gah, rollup needs the file extensions. which idiot wrote it
2017-05-06 23:01:17 -04:00
Rich-Harris
e85bec00a2
add a few type annotations
2017-05-06 22:52:37 -04:00
Rich-Harris
13b87acfb9
remove .ts file extensions
2017-05-06 22:31:31 -04:00
Rich-Harris
1c5e6e7430
rename all (almost) .js files
2017-05-06 22:21:16 -04:00
Rich-Harris
366c490bcc
switch a few more files over
2017-05-06 21:54:28 -04:00
Rich-Harris
25aa02c4fd
start converting to typescript
2017-05-06 19:43:33 -04:00
Rich-Harris
4e58bd06ff
-> v1.20.2
2017-05-06 17:22:37 -04:00
Rich Harris
a43115cb4e
Merge pull request #572 from sveltejs/compound-if-block-outros
...
fix destruction of compound if blocks with outros
2017-05-06 17:21:47 -04:00
Rich-Harris
e8c07e8b0c
fix destruction of compound if blocks with outros
2017-05-06 17:15:15 -04:00
Rich-Harris
35d820f391
-> v1.20.1
2017-05-06 16:13:17 -04:00
Rich Harris
86e05aaf74
Merge pull request #571 from sveltejs/gh-569
...
Fix insertion order of if blocks and their anchors
2017-05-06 16:12:32 -04:00
Rich-Harris
6dfb568d2a
fix insertion order of if blocks and their anchors
2017-05-06 16:02:49 -04:00
Rich-Harris
90a67d26c0
-> v1.20.0
2017-05-06 15:35:46 -04:00
Rich Harris
8bf9e0d4bb
Merge pull request #568 from sveltejs/gh-543
...
ensure outroing each block iterations don't jump to the top
2017-05-06 15:25:44 -04:00
Rich-Harris
b0a31dda15
reintro unkeyed each block iterations as necessary
2017-05-06 13:02:12 -04:00
Rich-Harris
f8e73c1f36
get rid of hardcoded variable names
2017-05-06 11:48:52 -04:00
Rich-Harris
23331e605a
dont store keyed block iterations in an array
2017-05-06 11:33:08 -04:00
Conduitry
c0b7156318
failing test for #569
2017-05-06 09:35:47 -04:00
Rich-Harris
1f161f7fa8
update dynamic keyed each blocks
2017-05-06 02:20:13 -04:00
Rich-Harris
d829eb94ef
handle bidirectional transitions
2017-05-06 02:06:07 -04:00
Rich-Harris
00c41e2092
Merge branch 'master' into gh-543
2017-05-06 01:40:11 -04:00
Rich Harris
2faf78804d
Merge pull request #567 from sveltejs/gh-562
...
Fix delays on bidirectional transitions
2017-05-06 01:39:51 -04:00
Rich Harris
89e26a7bd9
Merge pull request #566 from sveltejs/gh-564
...
validate transition directives
2017-05-06 01:39:40 -04:00
Rich-Harris
e9def64d14
use anchor when updating
2017-05-06 01:39:26 -04:00
Rich-Harris
5937aef3a6
ok, i think it actually works now
2017-05-06 00:28:30 -04:00
Rich-Harris
c9dba817fb
another crack at the algorithm. outros not currently applied
2017-05-05 16:50:10 -04:00
Rich-Harris
776b68ff71
fix bug in assert.htmlEqual
2017-05-05 12:10:37 -04:00
Rich-Harris
24c4a7c9f0
mostly working list diffing algorithm
2017-05-05 00:25:33 -04:00