Commit Graph

202 Commits (dabc9c3e5310316d82bfd8ef16f13e9a4fed3e66)

Author SHA1 Message Date
Richard Harris 70ddabde7f declare $vars up top
7 years ago
Rich Harris 47ab23c1de
Merge pull request #2097 from sveltejs/gh-2031-with-fix
7 years ago
Richard Harris 5c7fdf4ad2 assign elements to correct block when slots are involved - fixes #2031
7 years ago
Richard Harris 19f6727c8d handle implicit and explicit-but-undefined props — fixes #2024
7 years ago
Rich Harris a8fcc72d43 fix #2076
7 years ago
Rich Harris da11d75558
Merge pull request #2065 from sveltejs/gh-2061
7 years ago
Rich Harris cb2799d1ef only escape attribute values when rendering HTML
7 years ago
Rich Harris bf16bb89c3 only do dirty check for writable values - fixes #2052
7 years ago
Rich Harris 539fbbd8ef inject lets for reactive declarations where necessary - fixes #2059
7 years ago
Rich Harris 2703f609a5 avoid spread pattern, it causes some problems with some setups somehow???
7 years ago
Conduitry 5b9cc176df rename properties to component.compileOptions and .componentOptions
7 years ago
Conduitry a270661d20 rename `<svelte:meta>` to `<svelte:options>` (#2017)
7 years ago
Rich Harris b1d919f3f2
Overhaul stats — closes #1891
7 years ago
Richard Harris bcbe0a58b2 bind to store values in simple cases - fixes #1997
7 years ago
Richard Harris cdcccfb4e4 set current = true on mount as well as intro - fixes #2000
7 years ago
Rich Harris eccc8b264d
Implement local transitions — fixes #1480
7 years ago
Richard Harris ebd0b5ed0f update rollup-plugin-sucrase
7 years ago
Rich Harris c2e6d1bf0d
Better composition — implements https://github.com/sveltejs/rfcs/pull/12
7 years ago
Richard Harris f1ca1cc098 housekeeping
7 years ago
Richard Harris ed9df1fff3 dont use identity function to reflect props
7 years ago
Richard Harris 8c3f652a01 fix scroll bindings
7 years ago
Richard Harris 3359b5fb3a set immutable option correctly - fixes #1968
7 years ago
Rich Harris 0f9ea4a4f4
Merge pull request #1974 from evs-chris/gh-1916-evschris
7 years ago
Rich Harris f3701794be
Merge pull request #1978 from evs-chris/gh-1977-evschris
7 years ago
Rich Harris 4c9a55cb66
Merge pull request #1980 from evs-chris/gh-1952-evschris
7 years ago
Rich Harris 678ce3496f
Merge pull request #1966 from sveltejs/gh-1945
7 years ago
Richard Harris 79b7f112ab Merge branch 'master' into gh-1852
7 years ago
Rich Harris 528527aaea
Merge branch 'master' into gh-1945
7 years ago
Rich Harris 2d3dbdd6a9
Merge pull request #1967 from sveltejs/gh-1939
7 years ago
Rich Harris 0ea3840046
Overhaul transitions - fixes #1906
7 years ago
Chris Reeves e85222ad84 first pass at tracking mutation to avoid unnecessary update code - #1952
7 years ago
Chris Reeves 6c89975396 gather event listeners for slot default elements and render in a condition - fixes #1977
7 years ago
Chris Reeves 3a7b9adc7f pull contextual deps through for member exprs in this bindings - fixes #1916
7 years ago
Conduitry f8d69e296f replace <svelte:document> with <svelte:body> (#1846)
7 years ago
Conduitry e97953baec better handling of bare attribute names in DOM mode (#1852)
7 years ago
Richard Harris fc5d929e76 set parent correctly for children of await blocks - should fix #1939
7 years ago
Richard Harris 0e59e8d4cb fix dynamic component event code generation - fixes #1945
7 years ago
Conduitry 58b3ea63cc fix malformed code in window binding event handlers (#1963)
7 years ago
Richard Harris 329b013e40 render functions that close over contextual data - fixes #1938
7 years ago
Richard Harris 016bf84800 dont pass around reference to component
7 years ago
Richard Harris f1bdfd84d8 dont call transition functions with component context
7 years ago
Richard Harris e56c5653a7 start refactoring transitions
7 years ago
Richard Harris 7fbb71a788 tidy up
7 years ago
Richard Harris dcc1996aef prevent duplicate declaration of store values - fixes #1883
7 years ago
Rich Harris d6552025e4
fix hoisting of functions that reference imported values - fixes #1933
7 years ago
Rich Harris c0a8e630e3
Fix media bindings, simplify others
7 years ago
Rich Harris f8517edba9
Merge pull request #1932 from sveltejs/gh-1931
7 years ago
Richard Harris 454ff8d84e rewrite props after instrumentation - fixes #1931
7 years ago
Richard Harris c2d4ce3395 add process to globals whitelist
7 years ago
Rich Harris cfb6f52f2b
Merge pull request #1925 from sveltejs/gh-1924
7 years ago
Richard Harris 436fffb6bb cut out the middleman
7 years ago
Richard Harris ef944b5713 prevent parent component modifying child component state - fixes #1924
7 years ago
Richard Harris fc0b49eca2 make event handler names unique across components - fixes #1919
7 years ago
Rich Harris 35f57c0212
Merge pull request #1910 from sveltejs/gh-1908
7 years ago
Rich Harris f16e4d3bdd dont lump in bind:this with everything else - fixes #1908
7 years ago
Rich Harris 0b1d735e96 use correct context for resize handler - fixes #1898
7 years ago
Rich Harris 7440fa54e9 remove missing prop warning false positives - fixes #1902
7 years ago
Rich Harris 6def7ca69b
Merge pull request #1905 from sveltejs/hash-in-dynamic-attribute
7 years ago
Rich Harris 392fec9238 only apply aliasing logic once
7 years ago
Rich Harris df64c5da23 fix transitions in dev mode
7 years ago
Rich Harris 1f46e23e1b
More conservative invalidation
7 years ago
Rich Harris 29052aba7d
Bring svelte.technology source into main repo
7 years ago
Rich Harris f991a41d83
store auto-subscriptions
7 years ago
Rich Harris 48f1f6b4d0
implement `bind:this`
7 years ago
Rich Harris f45e2b70fd
Implement reactive assignments (#1839)
7 years ago
Rich Harris 79ea0bd43c
Merge pull request #1822 from aphitiel/gh-1743
7 years ago
Rich Harris d55e85dcdf remove redundant if statement
7 years ago
Rich Harris 327a58128a Merge branch 'await-then-catch-order' of https://github.com/RedHatter/svelte into RedHatter-await-then-catch-order
7 years ago
Rich Harris e5ae97b9c9 use helper for combining window binding props
7 years ago
Noah d236a4ad0b fix: #1859 (multiple window bindings not supported)
7 years ago
Timothy Johnson 05fa286d7b fixes #1440
7 years ago
pk 4d49839cce Merge branch 'test-gh-1743' into gh-1743
7 years ago
Pat Cavit cb4a46d33f fix: add check for template store to conditional (#1829)
7 years ago
pk d27dbae51c move resize handler from _beforecreate to _after.. (fixes #1743)
7 years ago
Rich Harris 54fe128cf8
Merge pull request #1819 from sveltejs/gh-1088
7 years ago
Rich Harris f1d704493b remove unused code
7 years ago
Rich Harris 82b1b75afe implement event modifiers
7 years ago
Rich Harris e7c62e9182 only add list/index to each block context if necessary
7 years ago
Rich Harris 11469efcf6 Merge branch 'master' of github.com:sveltejs/svelte
7 years ago
Rich Harris c45c7a9a81 remove some unused code
7 years ago
Rich Harris fa2f5896b2
Merge pull request #1813 from sveltejs/gh-1484-alt
7 years ago
Rich Harris d6f25a6a21 redo 9e9a078d on top of current master
7 years ago
Rich Harris 4afa133214 reinstate tests
7 years ago
Rich Harris db37e3a84b add a <svelte:document> tag - #1484
7 years ago
Rich Harris 8929aebbec better error for missing store - fixes #1807
7 years ago
Rich Harris d49f5f2136
Merge pull request #1797 from sveltejs/gh-1793
7 years ago
Rich Harris e65b0bb2e3
Merge pull request #1798 from sveltejs/gh-1795
7 years ago
Rich Harris ece6aeb892 detach each block iterations with no update method - fixes #1795
7 years ago
Rich Harris 073c8762ef extend dependency tracking to all directives
7 years ago
Rich Harris 3258779fa7 recognise dependencies in class directives - fixes #1793
7 years ago
Yury Zhuravlev 079bd4e58a fix #1780 just start use parent instead parent.parent in IfBlock wrapper
7 years ago
Rich Harris ae2bf97c90 repair linked list
7 years ago
Rich Harris e5f5995458 Merge branch 'fix-lost-anchor-if-if-block-first' of https://github.com/stalkerg/svelte into stalkerg-fix-lost-anchor-if-if-block-first
7 years ago
Yury Zhuravlev 21ea87cd61 small fix for if-else code style
7 years ago
Yury Zhuravlev 0d797ea8ae Fix removing next link during strip whitespaces for first element.
7 years ago
Rich Harris 337b62be6f fix blocks inside <svelte:head> - closes #1774
7 years ago
Rich Harris 540cd05d42
Merge pull request #1760 from ekhaled/gh-1653-followup
7 years ago
Rich Harris cbfcde3cde
Merge pull request #1770 from arggh/fix-scroll-binding
7 years ago
Rich Harris 4f88e43c37 handle elseif blocks with no else
7 years ago
arggh 4065f7741b Add missing check for update lock
7 years ago
ekhaled 3c4439c04e followup fix to #1653
7 years ago
Rich Harris e0fe31327a move render logic into separate phase (#1678)
7 years ago