Commit Graph

2214 Commits (daa2820ad6185a15ecc96899010048ab320d6cf6)

Author SHA1 Message Date
Rich Harris c30ae9a896 Overhaul transitions - fixes #1906
8 years ago
Chris Reeves bb16fea37e first pass at tracking mutation to avoid unnecessary update code - #1952
8 years ago
Chris Reeves 6dc5e2a6fc fix newline-before-block diffs caused by code builder adjustments
8 years ago
Chris Reeves bfdcf936ea gather event listeners for slot default elements and render in a condition - fixes #1977
8 years ago
Chris Reeves 1adbf8b29e pull contextual deps through for member exprs in this bindings - fixes #1916
8 years ago
Conduitry 8ff8ff3aad replace <svelte:document> with <svelte:body> (#1846)
8 years ago
Richard Harris 542dba436a set parent correctly for children of await blocks - should fix #1939
8 years ago
Richard Harris e38874f236 Merge branch 'master' into gh-1948
8 years ago
Richard Harris f5694432da prevent invalid svelte: tags - fixes #1948
8 years ago
Rich Harris fd36e46be5 Merge pull request #1961 from sveltejs/gh-1957
8 years ago
Rich Harris afdf32328a Merge pull request #1962 from sveltejs/gh-1960
8 years ago
Conduitry ccb8b9fe1a fix malformed code in window binding event handlers (#1963)
8 years ago
Richard Harris af39f40368 fix #1960 typo
8 years ago
Richard Harris f0206ff4b9 deconflict with implicit props - fixes #1957
8 years ago
Conduitry 7f0f6b287d preserve attributes during preprocess (#1873)
8 years ago
Richard Harris 575f8ad775 render functions that close over contextual data - fixes #1938
8 years ago
Richard Harris c1d4a75a00 allow reactive store references anywhere in script - fixes #1889
8 years ago
Richard Harris 9cac743948 update tests
8 years ago
Richard Harris ef33a912cf start refactoring transitions
8 years ago
Richard Harris e4f7b47ea9 fix test
8 years ago
Richard Harris a4b9f497e3 start centralising rAF stuff
8 years ago
Richard Harris 0c6386fc88 prevent duplicate declaration of store values - fixes #1883
8 years ago
Rich Harris e22457f613 fix hoisting of functions that reference imported values - fixes #1933
8 years ago
Rich Harris 543218c57a Fix media bindings, simplify others
8 years ago
Rich Harris fe350b8410 Merge pull request #1932 from sveltejs/gh-1931
8 years ago
Rich Harris aa98a88b05 Merge pull request #1930 from sveltejs/gh-1894
8 years ago
Richard Harris c1330d7b1c rewrite props after instrumentation - fixes #1931
8 years ago
Richard Harris bc10a15aa1 add process to globals whitelist
8 years ago
Richard Harris 827c4b46e7 prevent false positive detection of events that can be made passive - fixes #1914
8 years ago
Rich Harris aa05f2beb4 Merge pull request #1925 from sveltejs/gh-1924
8 years ago
Rich Harris fae70b59f7 Merge pull request #1923 from sveltejs/gh-1919
8 years ago
Richard Harris 7c0413bd2c always use stats.warn instead of options.onwarn - fixes #1918
8 years ago
Richard Harris f5fb02a24a fix tests
8 years ago
Richard Harris 6c89a53cab prevent parent component modifying child component state - fixes #1924
8 years ago
Richard Harris 9435878ad2 make event handler names unique across components - fixes #1919
8 years ago
Rich Harris 6adec40d13 Merge pull request #1910 from sveltejs/gh-1908
8 years ago
Rich Harris 788bf02f86 fix test
8 years ago
Rich Harris a9d60f5647 dont lump in bind:this with everything else - fixes #1908
8 years ago
Rich Harris b584844610 remove missing prop warning false positives - fixes #1902
8 years ago
Rich Harris 25bf3f5f34 only apply aliasing logic once
8 years ago
Rich Harris b30f2cdbf1 More conservative invalidation
8 years ago
Rich Harris 33f3fdee5c Bring svelte.technology source into main repo
8 years ago
Conduitry 710c40e77c oops
8 years ago
Conduitry 19f0cff726 fix runtime tests
8 years ago
Conduitry 58d596153f maybe this?
8 years ago
Conduitry 3ba8231195 maybe fix custom-elements tests
8 years ago
Conduitry b84f1fb308 use extension-less import for svelte/internal
8 years ago
Rich Harris 194e896509 glitch-free reactive stores
8 years ago
Rich Harris e78d837ffb store auto-subscriptions
8 years ago
Rich Harris c53f2af6fd implement `bind:this`
8 years ago
Rich Harris efba821c84 Implement reactive assignments (#1839)
8 years ago
Rich Harris f5ff2d4274 Merge pull request #1810 from sveltejs/gh-1809
8 years ago
Rich Harris fdfafdcab2 Merge pull request #1822 from aphitiel/gh-1743
8 years ago
Rich Harris c5ac16ecb5 Merge branch 'await-then-catch-order' of https://github.com/RedHatter/svelte into RedHatter-await-then-catch-order
8 years ago
Rich Harris f385e829b7 use helper for combining window binding props
8 years ago
Timothy Johnson 2cf3b7a535 fix transition-js-await-block test
8 years ago
Timothy Johnson b7dc37d48a added test for async block ordering (#1440)
8 years ago
pk 889351f3df Failing test for #1844
8 years ago
Rich Harris 858fc22bfb expose stats.props
8 years ago
pk 940599bb2f Merge branch 'test-gh-1743' into gh-1743
8 years ago
pk 79548aa076 Failing test for #1743
8 years ago
Pat Cavit 6fe4bf97c0 fix: add check for template store to conditional (#1829)
8 years ago
pk 1a4ea738eb move resize handler from _beforecreate to _after.. (fixes #1743)
8 years ago
Conduitry 87421b536c add test
8 years ago
Rich Harris c5bc080cbc Merge pull request #1819 from sveltejs/gh-1088
8 years ago
Rich Harris 3f3954102f disallow passive|preventDefault combo
8 years ago
Rich Harris 4082cdefe7 implement event modifiers
8 years ago
Rich Harris 6c92d9955f disallow once/passive in legacy mode, for now
8 years ago
Rich Harris 4784ff02d6 add some more modifier validation tests
8 years ago
Rich Harris 5fd4c94270 merge master -> gh-1088
8 years ago
Rich Harris f55121a1d3 only add list/index to each block context if necessary
8 years ago
Rich Harris 0bd3553e96 merge master -> gh-1187-b
8 years ago
Rich Harris b06ff8ad39 Merge pull request #1813 from sveltejs/gh-1484-alt
8 years ago
Rich Harris eb347bf2e6 Merge pull request #1815 from sveltejs/gh-1434
8 years ago
Rich Harris 5885506f81 redo 9e9a078d on top of current master
8 years ago
Rich Harris af490843f1 Merge branch 'master' into gh-938
8 years ago
Rich Harris d081e830c8 reinstate tests
8 years ago
Rich Harris 5b902fc444 merge master -> gh-938
8 years ago
Rich Harris 0a63261d5d Merge branch 'master' into gh-1434
8 years ago
Rich Harris a23169262e dont render undefined/null attributes in SSR
8 years ago
Rich Harris ef1741485b merge master -> set-undefined-attr
8 years ago
Rich Harris ad1c636273 add a <svelte:document> tag - #1484
8 years ago
Rich Harris 4c5c440a88 render server bindings
8 years ago
Rich Harris ccf54b2187 better error for missing store - fixes #1807
8 years ago
Rich Harris 94c3381980 Merge pull request #1797 from sveltejs/gh-1793
8 years ago
Rich Harris 0f25c560bc Merge pull request #1798 from sveltejs/gh-1795
8 years ago
Rich Harris a1ec36414e remove leftover logging
8 years ago
Rich Harris 4003b3fd82 detach each block iterations with no update method - fixes #1795
8 years ago
Rich Harris 5deb460d8b extend dependency tracking to all directives
8 years ago
Rich Harris 00e87b2356 recognise dependencies in class directives - fixes #1793
8 years ago
Yury Zhuravlev 72939812c1 fix #1780 just start use parent instead parent.parent in IfBlock wrapper
8 years ago
Rich Harris bcc736384f Merge branch 'fix-lost-anchor-if-if-block-first' of https://github.com/stalkerg/svelte into stalkerg-fix-lost-anchor-if-if-block-first
8 years ago
Rich Harris b59adb2613 Merge pull request #1776 from sveltejs/gh-1772
8 years ago
Yury Zhuravlev e3e50855ed Fix removing next link during strip whitespaces for first element.
8 years ago
Rich Harris decb5f965d include solidus in attribute values - fixes #1772
8 years ago
Rich Harris 83ff84cc57 fix blocks inside <svelte:head> - closes #1774
8 years ago
Rich Harris 3c58fe208a Merge pull request #1759 from sveltejs/gh-1745
8 years ago
Rich Harris c951e31a7a Merge pull request #1761 from dmitrykurmanov/patch-1
8 years ago
Rich Harris 07a85eb790 handle elseif blocks with no else
8 years ago
Dmitry Kurmanov 39c62a140b Update index.js
8 years ago
Rich Harris f134494615 deprecate onerror - fixes #1745
8 years ago
Rich Harris c5616474a1 while we're here, update parser output files
8 years ago
Rich Harris a451101a32 remove -bundle files
8 years ago
Rich Harris 9b8b779ee9 move render logic into separate phase (#1678)
8 years ago
Jacob Wright 36ffdcd0a6 Fixes shorthand class directives which do not have classes
8 years ago
Rich Harris 4a01c1a2fe warn on unused helpers - fixes #1704
8 years ago
Rich Harris 3d7a15ec9a [WIP] Refactor, change where validation occurs (#1721)
8 years ago
Yury Zhuravlev edf26fde24 Fix binding input with event in each and add test case.
8 years ago
Rich Harris 16e33c836e increase timeout so that tests pass on this horrendously expensive piece of shit laptop i am forced to use. PS fuck you, apple
8 years ago
Rich Harris e682676be2 Merge pull request #1715 from sveltejs/dynamic-import
8 years ago
Rich Harris 82082fd6d1 support dynamic import in expressions
8 years ago
Jacob Wright 36adf33829 Fixes keyed each blocks for outro
8 years ago
Rich Harris 08bf21dbb3 Merge pull request #1693 from sveltejs/gh-1617
8 years ago
Rich Harris 777d95b218 Merge pull request #1695 from sveltejs/class-shortcut
8 years ago
Josh Duff 2658c168a7 Only update inputs when the value changed
8 years ago
Jacob Wright 586f806c26 Remove camel-casing, but account for dashed parameters still.
8 years ago
Jacob Wright 848066a472 Adds class directive shortcut
8 years ago
Jacob Wright 53befe6b30 Fix for each-blocks preventing outros from completing
8 years ago
Rich Harris 840ecf6142 not sure where that extra blank line came from
8 years ago
Rich Harris 8fe75716a4 alternative approach to #1520
8 years ago
Rich Harris 5cb9279265 Merge branch 'master' into gh-1520
8 years ago
Rich Harris f7e3aa9fe6 Merge branch 'master' into gh-890
8 years ago
Rich Harris 4ded5d7b7f Merge pull request #1681 from sveltejs/gh-1666
8 years ago
Rich Harris 2af86b6e3b Merge pull request #1682 from sveltejs/gh-1659
8 years ago
Rich Harris d0e94cc320 Merge pull request #1683 from sveltejs/gh-1658
8 years ago
Jacob Wright d6bdf5e3a1 Fixes an error with outros and elseifs
8 years ago
Jacob Wright 4fe7e81146 Adds the class directive
8 years ago
Rich Harris 96e61bc9ac dont warn on empty block for nbsp - fixes #1658
8 years ago
Rich Harris e9e9198d5c support debug tag in SSR mode - fixes #1659
8 years ago
Rich Harris b687387b51 correctly set select value on mount - fixes #1666
8 years ago
Rich Harris 91b620ef0d run transitions in context of component - fixes #1675
8 years ago
Jacob Wright a669faca84 Allows actions to use any expression type
8 years ago
Jacob Wright 8aaf9119b0 Allows fragment updates to happen after state updates
8 years ago
Rich Harris 6e10fcd263 update unrelated test
8 years ago
Rich Harris 6d0c5bb680 allow non-existent dynamic components to be destroyed (#1660)
8 years ago
Rich Harris 4b9e264a5f Merge pull request #1670 from sveltejs/init
8 years ago
Rich Harris 66c4285055 Merge pull request #1653 from sveltejs/actions-onmount
8 years ago
Rich Harris 66813c6283 Merge pull request #1672 from blittle/master
8 years ago
James Birtles bf16371c9f fix test
8 years ago
Bret Little c55bf8a92d Properly propagate amdId to the compiler
8 years ago
Rich Harris 9fde41412a update tests
8 years ago
Christian Kaisermann c0e7047aca Also check for null-valued attributes
8 years ago
Christian Kaisermann cb57973392 Remove an undefined attribute instead of setting it to "undefined" (string)
8 years ago
Rich Harris a007000f09 Merge pull request #1652 from sveltejs/gh-1544-computed-whole-state
8 years ago
Rich Harris 56f5e5f998 Merge pull request #1530 from sveltejs/gh-1522
8 years ago
Jacob Wright f39d026137 Change actions to init on mount rather than hydrate
8 years ago
Conduitry 59c0e3377f exclude current prop in computed properties using entire state #1544
8 years ago
Admin c65f06a610 Changes stop and prevent to stopPropagation and preventDefault
8 years ago
Rich Harris f01e45948f update tests
8 years ago
Rich Harris d63175e2e3 -> v2.10.0
8 years ago
Rich Harris 4ba610e8aa Merge branch 'master' of github.com:sveltejs/svelte
8 years ago
Rich Harris 91ba205942 tidy up
8 years ago
Rich Harris 165343056f only add debugger statements in dev mode
8 years ago
Rich Harris c07b2e4419 Merge pull request #1642 from ekhaled/gh-1600-ios
8 years ago
Rich Harris 9d3ed61516 handle single identifiers in {@debug} tags
8 years ago
Rich Harris 04be1fd0cd fix test
8 years ago
Rich Harris c2294ffa0f Merge branch 'debug' of https://github.com/GarrettGeorge/svelte into GarrettGeorge-debug
8 years ago
Admin 868eb7b0af Adds tests for valid and invalid debug tag usage.
8 years ago
Admin 8d133bf3af Adds invalid test for event-modifiers.
8 years ago
ekhaled 2906ada316 update snapshot
8 years ago
Admin 448d7335d4 Fixes tests that use events
8 years ago
Admin 9f3d64dd25 Changes {@debug _ } to {@debug}
8 years ago
Rich Harris 4b293ed6db Merge pull request #1637 from sveltejs/list-whitespace
8 years ago
Rich Harris b2540e1c57 Merge pull request #1636 from sveltejs/gh-875
8 years ago
Admin cadaca24c7 Adds debug all option to debug tag
8 years ago
Rich Harris 65112181e7 preserve whitespace inside lists
8 years ago
Rich Harris 082a471584 tests were wrong way round
8 years ago
Rich Harris 6df0aa7a18 replace appendNode(node, parent) with append(parent, node) - easier to follow
8 years ago
Rich Harris 9c17a0a334 tweak test
8 years ago
Rich Harris 011a6a207c use props when passing data to custom elements (#875)
8 years ago
Admin ad3bc077e5 Adds validation for invalid reference names like foo-bar.
8 years ago
Rich Harris 65aa0691eb Merge pull request #1628 from sveltejs/gh-1540
8 years ago
Rich Harris 50b78ae044 Merge pull request #1631 from sveltejs/gh-1618
8 years ago
Rich Harris a1513f61a9 encapsulate local styles inside global ones - fixes #1618
8 years ago
Rich Harris 3f05095552 failing test for #1621
8 years ago
Rich Harris ed9a7250f2 handle rest elements in computed properties - fixes #1540
8 years ago
Rich Harris dfc3078b7d update CLI tests
8 years ago
Rich Harris 45b3b4132a stringify values before setting text data - fixes #1598
8 years ago
ekhaled f3d94bff21 failing test for #1598
8 years ago
Rich Harris eeb4617b99 upgrade mocha
8 years ago
Rich Harris a0c8bcef2e fix rollup config etc
8 years ago
Rich Harris a907c5289b eslint
8 years ago
Rich Harris 348ac156aa add non-spread test for attribute safety
8 years ago
Rich Harris 6030ea0f5c sanitize spread attributes and disallow invalid attribute names
8 years ago
Rich Harris e037cc4bee Merge pull request #1612 from ekhaled/gh-1589
8 years ago
Rich Harris 26ec91e224 Merge pull request #1610 from ekhaled/gh-1600
8 years ago
ekhaled 23c8691dd4 add failing test for #1589
8 years ago
ekhaled 832ad0aa1f closes #1600
8 years ago
Curtis Maloney 8e8d8ef7b5 [Fixed #1608] Allow binding of input files
8 years ago
Rich Harris 86c2e847b2 null out refs to dynamic components - fixes #1596
8 years ago
Rich Harris f74733d43d Merge branch 'master' of github.com:sveltejs/svelte
8 years ago
Conduitry 0dcea4128b allow {:then}/{:catch} to have no bound identifier (#1507)
8 years ago
Conduitry cd5ebd2a3c in each-else, use mount/intro according to that branch's contents (#1586)
8 years ago
Conduitry 15299e7be0 in .fire always set calling flag back to false (#1587)
8 years ago
Yury Zhuravlev 13230096dd Merge branch 'master' into fix_outro_timeout
8 years ago
Conduitry 3f334171ce unique name for select_block_type in IfBlock#buildCompoundWithOutros
8 years ago
Conduitry 8e95c29a77 fix determing whether an attribute should prevent innerHTML optimization
8 years ago
Yury Zhuravlev 2bfc369951 Fix race condition for if block
8 years ago
Rich Harris 61266fb225 use template.content in place of template where appropriate - fixes #1571
8 years ago
Rich Harris f70073720a Merge pull request #1572 from sveltejs/gh-1561
8 years ago
Rich Harris e19bddb8be Merge pull request #1555 from fjorgemota/patch-1
8 years ago
Rich Harris dddad36b77 abort transition on detach - alternative fix for #1561
8 years ago
Rich Harris 877e408781 separate groupOutros from transitionsManager
8 years ago
Rich Harris d6b4ab1770 outro when <svelte:component> switches - #1568
8 years ago
Fernando Jorge Mota a27160c5fa Support invalid JS attributes when passing data to components and on binding attributes, too
8 years ago
Rich Harris 152dd63f8f Revert "Fix for #1553"
8 years ago
Rich Harris a9447e8668 Merge pull request #1557 from PaulMaly/1553-return-from-custom-event-handler
8 years ago
Pavel Malyshev a777312c8d Fix for #1553
8 years ago
Christian Kaisermann 6545b94c54 Fix prefixed animation name replacement
8 years ago
Pavel Malyshev c3835c08d3 Fix for #1538
8 years ago
Rich Harris c730cc9f4e Merge pull request #1533 from sveltejs/gh-1532
8 years ago
Rich Harris b2126ac620 Merge pull request #1529 from sveltejs/gh-1527
8 years ago
Rich Harris d708dde42b call outrocallback immediately for empty each block
8 years ago
Rich Harris 909015a34e fix for #1522... maybe?
8 years ago
Rich Harris 2e5c29749f failing test for #1522
8 years ago
Rich Harris f02f4cf6fc Merge pull request #1526 from kaisermann/refs-callee-warn
8 years ago
Rich Harris 8fc6d850cc failing test for #1527
8 years ago
Christian Kaisermann b5ff260353 Add refs.* to valid event handler callees warning message
8 years ago
Conduitry 95377be635 fix spread when an attribute or prop has multiple dependencies (#1515)
8 years ago
Rich Harris 6e21fa87f6 Merge pull request #1501 from sveltejs/gh-1499
8 years ago
Rich Harris 1b6cef0873 prevent possibility of conflicts with __file
8 years ago
Rich Harris 8859065599 update CLI tests to fix version number thing
8 years ago
Rich Harris 5b7d28dcfe change __svelte_meta to __svelte_meta.loc
8 years ago
Rich Harris 721f8b6bc6 Merge pull request #1505 from kaisermann/transform-prefixed-keyframes
8 years ago
Conduitry 141f4a052b update some stray references to v1 syntax
8 years ago
Christian Kaisermann cb62b47d4f Make the compiler also transform prefixed @keyframes
8 years ago
Rich Harris ad27d5471e add location info to nodes - fixes #1499
8 years ago
Rich Harris 327c38fd5f Merge pull request #1498 from sveltejs/gh-1497
8 years ago
Rich Harris 9398528525 fix nested outro transitions
8 years ago
Rich Harris ba9fc59da5 Merge pull request #1494 from sveltejs/gh-1230
8 years ago
Conduitry fccbcc74ae use CSS classes for ref:* selectors (#1230)
8 years ago
Rich Harris 4c8e0922a9 separate hasOutros from hasOutroMethod - fixes #1492
8 years ago
Rich Harris 2c3efb891c Merge branch 'master' into gh-1489
8 years ago
Rich Harris b444c96c38 fix dynamic component bindings (#1489)
8 years ago
Conduitry 289e4aaa42 tidy, and revert changes to cli test sample commands
8 years ago
Conduitry fc67566493 normalize paths in comments in cli tests
8 years ago
Pat Cavit 0d1bb9cc8b cross-platform test setup via shelljs
8 years ago
Rich Harris 3974584c9e Merge pull request #1479 from sveltejs/gh-1470
8 years ago
Rich Harris f067d76495 always create outro method for top-level block - fixes #1470
8 years ago
Rich Harris 54a72c1a57 nested components skip intro on initial render - fixes #1460
8 years ago
Rich Harris 4f89adeaaf Merge pull request #1468 from sveltejs/gh-1458
8 years ago
Rich Harris d0ffb5d81a add test, tweak codegen
8 years ago
Rich Harris 0ede1d6395 add snapshot test
8 years ago
Rich Harris 8e2f8fd16d support parameterised animations
8 years ago
Rich Harris 152aff3a23 quote slot names if necessary - fixes #1461
8 years ago
Rich Harris d0f8f1741c pass in destroy method
8 years ago
Rich Harris f97397ff90 tidy up a bit
8 years ago
Rich Harris f3475cd4fd add animation validation tests
8 years ago
Rich Harris 27e5331a98 css animations
8 years ago
Rich Harris d6b897b16b implement js transitions, albeit messily
8 years ago
Rich Harris 96d67b274d groundwork for animations (#1431)
8 years ago
Rich Harris 3d8aad2f6c fix skipped intros
8 years ago
Rich Harris f0a36373f6 allow transition functions to return a function (#1431)
8 years ago
Rich Harris a1c810f870 supply 1 - t as second argument to transition tick/css functions (#1431)
8 years ago
Rich Harris f9db67edbb nested component transitions
8 years ago
Rich Harris 1b2ced7bf1 nested await block outros
8 years ago
Rich Harris de93e49c68 outroing each blocks
8 years ago
Rich Harris 721af8fc64 WIP towards nested transitions
8 years ago
Rich Harris 0e43507660 add skipIntroByDefault compiler option (#547)
8 years ago
Conduitry a9fb844dcd allow spaces around reserved words used in tags in attributes (#1445)
8 years ago
Rich Harris 0e793011a8 allow spread props on elements with tests for static attributes
8 years ago
Rich Harris 0e0e7bebc8 Abort outro if block is recreated — fixes #1425
8 years ago
Rich Harris ead5aec41b Group outro callbacks — fixes #648
8 years ago
Conduitry 816060283d fix handling of shorthand event handler in dynamic components
8 years ago
Rich Harris fa9e2be6ef Merge pull request #1422 from sveltejs/each-object-create
8 years ago
Rich Harris 393d1df33b fix duplicate events on range input bindings (#1419)
8 years ago
Rich Harris 3b82f90db2 use Object.create for each block child contexts
8 years ago
Rich Harris 1fad00ab10 simplify handling of html blocks
8 years ago
Rich Harris a344afaa86 update tests
8 years ago
Rich Harris 46bc257df8 ugh
8 years ago
Rich Harris 42346c2015 support transitions in await blocks - fixes #956
8 years ago
Rich Harris 1eacde9f1e Merge branch 'await-helper' into gh-956
8 years ago
Rich Harris 3e8e589616 fix #1417
8 years ago
Rich Harris b4089474c4 failing test for #1417
8 years ago
Rich Harris aac1e4678c failing test for #956
8 years ago
Rich Harris 17d7aea40e failing test for #1413
8 years ago
Rich Harris 195f9af187 Merge pull request #1395 from sveltejs/gh-1327
8 years ago
Conduitry 0413e7d63d mark elements with refs as ineligible for innerhtml (#1407)
8 years ago
Rich Harris a60d5166b5 update state with new computed properties
8 years ago
Rich Harris 450165ac5c Merge branch 'master' into gh-1327
8 years ago
Rich Harris ebf3d8617f Merge pull request #1405 from sveltejs/gh-1399-alt
8 years ago
Rich Harris df8cf577bf Merge pull request #1402 from sveltejs/gh-1397
8 years ago
Rich Harris fd7063e84a fix and simplify cycle detection
8 years ago
Rich Harris c176506086 put test alongside other store tests
8 years ago
Rich Harris 53c596ca85 only update component props if they are dynamic - fixes #1394
8 years ago
Rich Harris c7bd87bd83 evaluate each block key in child scope - fixes #1397
8 years ago
Brian Takita cb1978e937 Fix https://github.com/sveltejs/svelte/issues/1399
8 years ago
Rich Harris 3d39095e78 Merge pull request #1393 from sveltejs/bind-width-etc
8 years ago
Rich Harris 7263e08173 Merge pull request #1392 from sveltejs/gh-1390
8 years ago
Rich Harris 4106095033 update test
8 years ago
Rich Harris e137e50516 failing test for #1327
8 years ago
Rich Harris 7ea5b0f0c6 only overwrite this in event handlers for custom events - fixes #1390
8 years ago
Conduitry d1bdb62be9 fix svelte-cli references
8 years ago
Rich Harris 4a5af06318 remove debugging logging
8 years ago
Rich Harris 21c23aca60 Merge pull request #1386 from sveltejs/gh-984
8 years ago
Rich Harris ca88cb6231 rewrite version numbers to make cli testing less of a pain
8 years ago
Rich Harris cb19266f82 update tests
8 years ago
Rich Harris 2e79826b30 Merge branch 'master' into gh-984
8 years ago
Rich Harris fbb0bd4d46 update tests
8 years ago
Rich Harris 4e044ef391 Merge branch 'master' into gh-1360
8 years ago
Rich Harris 619c6b9bec prevent bind:offsetWidth etc on void elements
8 years ago
Rich Harris b6beef00ef keep ES5 function names in dev mode
8 years ago
Rich Harris 489c843a90 integrate CLI - fixes #1360
8 years ago
Rich Harris d695d7b75a update tests
8 years ago
Rich Harris 14b6f8bb67 add validation logic, error on dimension bindings for SVG elements
8 years ago
Rich Harris b7b98578cd update tests
8 years ago
Rich Harris 01dc4a7b85 bind to dimensions
8 years ago
Rich Harris e4e84a1261 Merge branch 'master' into gh-984
8 years ago
Rich Harris fd73fadf98 WIP towards #984
8 years ago
Rich Harris b767227a2f bind to destructured properties
8 years ago
Rich Harris 4d1e71fdd5 sparse array patterns
8 years ago
Rich Harris 58f481d2e4 destructuring
8 years ago
Rich Harris 364921ee8a deduplicate each block context generation for keyed blocks
8 years ago
Rich Harris 1deafca304 Merge branch 'master' into gh-1287
8 years ago
Rich Harris 93148ee808 deduplicate each block context generation (#1287)
8 years ago
Rich Harris f7f9c25e0a failing test for #1187
8 years ago
Rich Harris 394240a2aa set window scroll from bindings on initialisation - fixes #938
8 years ago
Rich Harris 70b01fe960 allow arbitrary expressions in each block keys - fixes #703
8 years ago
Rich Harris ee522dc7e0 Merge pull request #1374 from sveltejs/gh-1368
8 years ago
Rich Harris cf48355bee Merge pull request #1375 from sveltejs/gh-1369
8 years ago
Rich Harris c563cfa83d Merge pull request #1376 from sveltejs/gh-1297
8 years ago
Rich Harris 91cd2cfef1 Merge pull request #1377 from sveltejs/gh-1303
8 years ago
Rich Harris 170ca172e4 Merge pull request #1378 from sveltejs/gh-1286
8 years ago
Rich Harris c0366c7b0f preserve outer context for await blocks - fixes #1251
8 years ago
Rich Harris fc6fd787d2 recalculate each block values lazily - fixes #1286
8 years ago
Rich Harris 51651ebce5 implement full-state computed properties - fixes #1303
8 years ago
Rich Harris 21c4d9ce55 overwrite this in custom event handlers - fixes #1297
8 years ago
Rich Harris a19aec1ea9 assign custom methods to custom element prototype - fixes #1369
8 years ago
Rich Harris 7ced1d4e74 fix #1368
8 years ago
Rich Harris 09468dfb47 all tests passing
8 years ago
Rich Harris d6d3af8e03 minor fixes
8 years ago
Rich Harris dd61ceba66 minor fixes, update various tests
8 years ago
Rich Harris f3262e03aa update parser tests
8 years ago
Rich Harris e0161f1dfa reenable non-runtime tests
8 years ago
Rich Harris 0e98b39803 more stuff
8 years ago
Rich Harris 3186f2e0ba WIP
8 years ago
Rich Harris 032aeab970 baby steps towards #1316
8 years ago
Rich Harris 6800b160d0 Merge pull request #1364 from sveltejs/gh-1356
8 years ago
Rich Harris 947b39cd8d Merge pull request #1365 from sveltejs/gh-1354
8 years ago
Rich Harris 50377c2a6b prevent stale state in component event handlers - fixes #1353
8 years ago
Rich Harris 50dd0fd460 set state to blank object on destroy, not null - fixes #1354
8 years ago
Rich Harris d6a8a71448 tweak
8 years ago
Rich Harris e0dc854a5f correctly report changed properties in initial state/update events - fixes #1356
8 years ago
pk 04b1c11026 Failing test for #1356
8 years ago
Rich Harris dcdcb9ab03 Merge pull request #1358 from sveltejs/gh-1038
8 years ago
Conduitry f5fb3e6c08 add test
8 years ago
Rich Harris 0769c2fd59 update spread props in each blocks without other dynamic attributes - fixes #1337
8 years ago
Rich Harris 736cd9ea06 support $method(...) calls, and warn on store.method(...)
8 years ago
Rich Harris e65253ddde remove legacy prop stuff, now that we emit ES2015
8 years ago
Conduitry db44965a26 fix <svelte:window> to use new APIs
8 years ago
Rich Harris 5c9b7df07b fixes
8 years ago
Rich Harris b72225a28f rename loc to start, include character info in locations
8 years ago
Rich Harris ac662d3b92 update test
8 years ago
Rich Harris 14c8e88045 remove redundant test
8 years ago
Rich Harris 17be6f5b29 skip test, fix post-v2
8 years ago
Rich Harris 62e9f12db0 tidy up
8 years ago
Rich Harris b128399540 fix some more tests
8 years ago
Rich Harris 6719958169 remove cascade option
8 years ago
Rich Harris 325b5a6c5c update css tests
8 years ago
Rich Harris 00d4550733 update hydration tests
8 years ago
Rich Harris ff214ef8ab SSR tests
8 years ago
Rich Harris 842e49155c update validation tests
8 years ago
Rich Harris 53963dc7e6 remove store option
8 years ago
Rich Harris 50533bcefa remove v1 tests
8 years ago
Rich Harris 3db454c91d remove v1 runtime tests
8 years ago
Rich Harris e6e3f9a07c remove deprecated renderCss method
8 years ago
Rich Harris 90d06134fd remove v1 snapshot tests
8 years ago
Rich Harris 7a5042208b oops
8 years ago
Rich Harris c854f2c9fc remove v1 parser tests
8 years ago
Rich Harris b6d93feba6 dont typecast numeric attributes
8 years ago
Rich Harris cd0ffa35f6 remove validate and Stylesheet from public API
8 years ago
Rich Harris 75c86887b8 remove code, map and cssMap from svelte.compile output
8 years ago
Rich Harris 2994c9681d update snapshot tests
8 years ago
Rich Harris c806aad410 update tests to account for removal of observe
8 years ago
Rich Harris d532561a7f update snapshot tests
8 years ago
Rich Harris d9828355b2 update store tests
8 years ago
Rich Harris d045e3907d remove ES5 constraint
8 years ago
Rich Harris 9b81ff1640 deprecate get with string argument
8 years ago
Rich Harris cae27b1904 allow overwritten observe
8 years ago
Rich Harris ef1954947e Merge pull request #1345 from sveltejs/gh-1069
8 years ago
Rich Harris 382e0191a8 use destructuring syntax for computed props in v2 mode - fixes #1069
8 years ago
Rich Harris f07b050d52 update tests
8 years ago
Rich Harris 526a7799ec deprecate observe
8 years ago
Rich Harris 3b4b8c25d5 implement onstate and onupdate
8 years ago
Rich Harris 97acdbe30e Merge branch 'master' into gh-1197
8 years ago
Rich Harris 2855fbdc32 add some onstate/onupdate tests
8 years ago
Rich Harris c20ae70b88 Merge pull request #1340 from sveltejs/gh-474
8 years ago
Rich Harris f8801feb2b add codes to errors
8 years ago
Conduitry b7145ffaee in v2, don't parse for interpolations in non-root style elements (#1339)
8 years ago
Rich Harris 7b1df97d7e add codes to validation errors
8 years ago
Rich Harris 2151301716 update tests
8 years ago
Rich Harris 17a20bbe37 add codes to warnings (#474)
8 years ago
Rich Harris 62cbb31844 Merge pull request #1330 from sveltejs/gh-1318
8 years ago
Rich Harris dca723a3ef attribute shorthand test
8 years ago
Rich Harris 844c89dce6 update keyed each block syntax
8 years ago
Rich Harris 1a41f8bddd implement dynamic components etc
8 years ago
Rich Harris f6958f03fe reenable all tests
9 years ago
Rich Harris c6157909c3 fix debugging comments
9 years ago
Rich Harris 23f8f87243 fix head/window meta tags
9 years ago
Rich Harris d1ca636120 v2 js tests
9 years ago
Rich Harris 9235efb8dd more tests, support svelte: elements
9 years ago
Rich Harris 22bb74413a add validator tests
9 years ago
Rich Harris 0ac3a522d9 attribute shorthand
9 years ago
Rich Harris dd2de33df3 fix #1331
9 years ago
Rich-Harris 8e95bf5111 brute force new keyed each block syntax
9 years ago
Rich-Harris ac13b72bd6 update parser for v2
9 years ago
Rich-Harris 6aef662fa5 add v2 parser tests, handle single curly tags
9 years ago
Rich Harris 24238e5778 Merge pull request #1299 from sveltejs/gh-1257
9 years ago
Rich Harris bbec452b0a Merge pull request #1311 from sveltejs/gh-1278
9 years ago
Rich Harris f26cd3b58e Merge pull request #1312 from sveltejs/gh-1275
9 years ago
Rich Harris f7bdf71946 Merge pull request #1313 from sveltejs/gh-1270
9 years ago
Rich Harris 209012c59d Merge pull request #1314 from sveltejs/gh-1269
9 years ago
Rich-Harris 22308a02ea support custom events on <:Window> - fixes #1268
9 years ago
Rich-Harris 381356aae7 make CSS DCE case-insensitive - fixes #1269
9 years ago
Rich-Harris 0963c226a8 fail validation if bound <select> has dynamic multiple attribute - fixes #1270
9 years ago
Rich-Harris 0ed59b7d74 deconflict against inherited contexts - fixes #1275
9 years ago
Rich-Harris 9a9f787e52 treat component events the same as element events - fixes #1278
9 years ago
Rich Harris bd7cc3ce15 Merge pull request #1310 from sveltejs/gh-1300
9 years ago
Rich-Harris b496a2f058 bail out of CSS optimisations on encountering spread - fixes #1300
9 years ago
Rich-Harris cbafb650bf ensure correct order of DOM insertions with neighbouring keyed each blocks - fixes #1306
9 years ago
Rich-Harris df07dde5fd spread on dynamic component - fixes #1307
9 years ago
Rich-Harris 15b371eeff merge master -> gh-1257
9 years ago
Rich Harris 0601e3bc0f Merge pull request #1298 from sveltejs/gh-795
9 years ago
Rich Harris 3af38db0f2 Merge pull request #1289 from sveltejs/gh-195
9 years ago
Rich-Harris 29f8b28747 handle boolean attributes
9 years ago
Rich-Harris 834824f4c6 include warnings in stats object
9 years ago
Rich-Harris fd16fadad9 add lifecycle hooks
9 years ago
Rich-Harris 51df2cb7f6 add stats tests, handle imports
9 years ago
Rich-Harris e8442d01eb dont generate test output if no css
9 years ago
Rich-Harris 6d47e924c4 output { js, css, ast } from svelte.compile - fixes #795
9 years ago
Rich-Harris aea4caaf2a fix element spread SSR
9 years ago
Rich-Harris 6e41ebe91b component spread
9 years ago
Rich-Harris cf05f19e11 tidy up/notes to self
9 years ago
Rich Harris 31a6174a6a Merge pull request #1295 from sveltejs/each-block-keyed-empty
9 years ago
Rich-Harris 249e1f014b Revert "fix handler in-place"
9 years ago
Rich-Harris b7589e3162 Merge branch 'custom-event-teardown' of https://github.com/ekhaled/svelte into ekhaled-custom-event-teardown
9 years ago
ekhaled 59df8ca4f3 fix handler in-place
9 years ago
Rich-Harris 760b430ea8 handle empty each blocks
9 years ago
Rich-Harris 29358228a5 argh, need a precommit check for this
9 years ago
Rich-Harris b3a5973894 allow keyed each block to have static content - fixes #1291
9 years ago
ekhaled c1b1e4b188 add dev mode warning when teardown is returned instead of destroy
9 years ago
ekhaled bf71af4c2f support both destroy and teardown in custom event handlers
9 years ago
Rich-Harris 8a38ba3636 basic attribute spreading on elements
9 years ago
Josh Duff 4539466c0c Accept backtick string literals in tag/props properties
9 years ago
Josh Duff 3062a86435 Fix backtick string literals not being recognized for the svg property
9 years ago
Rich-Harris ff56d9c312 Merge branch 'master' into mrkishi-spread
9 years ago
Conduitry 5dcbb8881b fix assembly of initial state object
9 years ago
Rich-Harris 85c10c2172 include spread with other attributes
9 years ago
Rich-Harris c5aa5693e5 merge master -> mrkishi-spreadh
9 years ago
Rich Harris 22028c094c Merge pull request #1279 from jacwright/action-this
9 years ago
Rich Harris 4e28a2d637 Merge pull request #1280 from sveltejs/dynamic-component-mount-ref
9 years ago
Luke Edwards 74e0e7e51d update test samples’ expectants
9 years ago
Conduitry bfd8edc938 when mounting dynamic components, set ref if required
9 years ago
Jacob Wright 74fa12a3e1 Make tests work when running all of them together.
9 years ago
Jacob Wright 97f74dc8a6 Make actions execute with the component context
9 years ago
Rich Harris 9908272d73 Merge pull request #1247 from jacwright/behaviors
9 years ago
Rich-Harris 18e96a642f Merge branch 'preserve-comments-option' of https://github.com/zzolo/svelte into zzolo-preserve-comments-option
9 years ago
Rich-Harris 00873cc5f7 tidy up
9 years ago
Rich-Harris abde84e6db all tests passing
9 years ago
Rich-Harris 93d4a7da12 holy shit i think i did it
9 years ago
Rich-Harris a5eb7d0549 am close...
9 years ago
Alan Palazzolo d9855597b8 Add option preserve comments in SSR rendering.
9 years ago
Jacob Wright a5ed6cbe18 Adds actions to components
9 years ago
Rich Harris 9227d025a1 Merge branch 'master' into gh-1254
9 years ago
Rich Harris dad62871e6 Merge pull request #1256 from sveltejs/each-keyed-helper
9 years ago
Rich Harris 4abbd7df56 prevent name collisions with each block index - fixes #1254
9 years ago
Rich Harris b89729d296 failing test for #1254
9 years ago
Rich Harris ef09ecd8a1 Merge pull request #1250 from UnwrittenFun/feat/warn-end-pos
9 years ago
Rich Harris ad0ce6fde2 simplify updateKeyedEach
9 years ago
James Birtles 843ff973f6 Fix named-export end position
9 years ago
Rich Harris 8678f39bce Merge pull request #1249 from btakita/issues/588
9 years ago
Rich Harris 30f3849f87 Merge pull request #1243 from sveltejs/gh-1240
9 years ago
Brian Takita 6f8195fe11 Implement https://github.com/sveltejs/svelte/issues/588
9 years ago
mrkishi 1589e6ed34 Prioritize named over spread attributes
9 years ago
mrkishi a287d50354 Add spread -- rough idea
9 years ago
James Birtles 4bda127108 add end position to errors
9 years ago
James Birtles 3f404eaf99 add end position to warnings
9 years ago
Rich Harris c9d029f705 skip missing property warning for computed/global properties
9 years ago
Rich Harris 160d9136c0 add local variable for list values - fixes #1240
9 years ago
Rich Harris b2c2a02f50 nicer error messages
9 years ago
Rich Harris f06cf99434 error if ref:foo has a value
9 years ago
Rich Harris 05d23f6101 failing test for #1240
9 years ago
Rich Harris c320e4f29f Merge pull request #1242 from jacwright/directive-parsing-cleanup
9 years ago
Jacob Wright 0f9570a9b6 Refactor directive parsing for code reuse
9 years ago
Rich Harris 9ab870bcb2 Merge pull request #1237 from sveltejs/gh-1209
9 years ago
Rich Harris 6cdce62e8d Merge pull request #1239 from sveltejs/gh-1221
9 years ago
Rich Harris e17f2660e3 reenable all tests
9 years ago
Rich Harris 915b75422d scale transition duration by delta - fixes #1221
9 years ago
Rich Harris 5495d44484 use setAttribute with inputs, for benefit of IE - fixes #1209
9 years ago
Rich Harris cbca5cd006 alias listName to deconflict with shared helpers - fixes #1229
9 years ago
Rich Harris 7fa6109785 add CSS scoping classes when stringifying child nodes - fixes #1223
9 years ago
Rich Harris 63dd90cf31 set arbitrary compile options when calling SSR register function
9 years ago
Rich Harris 5169ef1cb1 allow SVG elements to have scoped CSS - fixes #1224
9 years ago
Rich Harris 74058004d5 update test
9 years ago
Rich Harris cd5e68e648 add each_value to contextProps - fixes #1206
9 years ago
Rich Harris 7ea39993be Merge branch 'test-1217' of https://github.com/aphitiel/svelte into aphitiel-test-1217
9 years ago
Rich Harris f02deae6c2 switch back to using svelte- instead of name-
9 years ago
Rich Harris 12ab482802 Merge branch 'gh-1118' into gh-1118-base36
9 years ago
Rich Harris 7647913591 merge master -> gh-1118
9 years ago
Rich Harris e1d52398d9 merge
9 years ago
pk 95bbf585fe failing test for #1217
9 years ago
Rich Harris 8b8461a554 Merge pull request #1200 from leereamsnyder/process-atsupports
9 years ago
Rich Harris 2c03aaa7e8 prevent context variables being called component or state - fixes #1213
9 years ago
ekhaled 3de7059fbe re-add Child.html
9 years ago
ekhaled 4d532dc77b remove file
9 years ago
ekhaled 7f4cc3c2af fix snapshots for the actual mounting code
9 years ago
ekhaled b7a3d24dc4 fix bundle snapshots
9 years ago
ekhaled 376ae983f5 some case-sensitivity thing
9 years ago
ekhaled c30845661f clarify in test that its an intro test only
9 years ago
ekhaled 4fe99e0ff3 fix tests on linux
9 years ago
ekhaled 73e0181cac add test for transitions on nested components
9 years ago
ekhaled 61ad7bcaeb fix snapshots
9 years ago
Rich Harris ba5b661dc7 update deps to get tests to pass again
9 years ago
Rich Harris 1dca323660 only apply key to keyed each block, not its children - fixes #1202
9 years ago
Lee Reamsnyder 67ea9626eb process code in @supports queries with cascade: false
9 years ago
Conduitry 517621bea1 update js if-block-no-update test
9 years ago
Conduitry cee1feaff6 add failing test for #1195
9 years ago
Rich Harris fde43ea376 Merge branch 'master' into gh-1175
9 years ago
Rich Harris 34f18989d8 only use page[XY]Offset
9 years ago
Rich Harris 1bd5d0897c use base36 for style classes
9 years ago
Rich Harris f822a50d3e update more tests
9 years ago
Rich Harris 3053aaeec3 update tests
9 years ago
Rich Harris 5a8a2dff9c Merge branch 'master' into gh-1144
9 years ago
Rich Harris e561f05e9f fix out of date test
9 years ago
Rich Harris d625e8d16f allow observing $foo in dev mode - #1181
9 years ago
Rich Harris 4226cbb4c4 wrap <slot> updates in conditional - fixes #1144
9 years ago
Rich Harris 43e116685a Merge pull request #1173 from sveltejs/gh-1122
9 years ago
Rich Harris d9b9327779 update tests
9 years ago
Rich Harris 648a0a895f Merge pull request #1169 from sveltejs/gh-1166
9 years ago
Rich Harris 610dd36130 update tests
9 years ago
Rich Harris 9f182f95f0 Merge pull request #1178 from GarethOates/storeCancelScope
9 years ago
Rich Harris cd62a43102 add test for #1179
9 years ago
Gareth Oates 92cb77f8da There was no test to determine if onchange cancel threw an error
9 years ago
Robert Hall 61ac049b70 Using pageYOffset & pageXOffset
9 years ago
Rich Harris dcf8e4694a Merge branch 'master' into gh-1122
9 years ago
Rich Harris e4da15330f put _differs on prototype, remove runtime option
9 years ago
Rich Harris c7acf71efd Merge branch 'immutable-support' of https://github.com/jacwright/svelte into jacwright-immutable-support
9 years ago
Rich Harris 0a0f7d142f remove some unused code etc
9 years ago
Rich Harris a7fd6ecc78 all tests passing
9 years ago
Rich Harris c5211e8074 everything working except some destructuring stuff
9 years ago
Rich Harris 63614be14b Merge branch 'master' into gh-1122
9 years ago
Rich Harris 8e7fdb1031 Merge pull request #1158 from sveltejs/gh-1156
9 years ago
Rich Harris f674561331 update tests
9 years ago
Jacob Wright e7eb8aff2f Adds some runtime tests for the immutable option
9 years ago
Jacob Wright 6fc42fe18b Add another test
9 years ago
Jacob Wright 514ebd28b7 Adding compiler option for immutable back in
9 years ago
Rich Harris 991c9b42ae increase test coverage
9 years ago
Rich Harris 4c6b3b79da increase test coverage, handle immediately-closed blocks
9 years ago
Rich Harris 98fead1c64 increase test coverage
9 years ago
Jacob Wright 7afb9b79f7 Makes immutable a component option rather than a compile option
9 years ago
Rich Harris f9e5bb3d18 failing test for second part of #1100
9 years ago
Jacob Wright faa613d357 Removes date checks and simplifies NaN checks, adds tests
9 years ago
Rich Harris 910f7a46e3 use ["default"] instead of .default in legacy mode - fixes #1166
9 years ago
Rich Harris b4edc7c01e doh
9 years ago
Rich Harris 8b6a099ced empty blocks are a dev warning, not an error
9 years ago
Rich Harris cb19de6c24 Merge branch 'master' into gh-1117
9 years ago
Rich Harris 4106840a00 Merge pull request #1153 from sveltejs/gh-1100
9 years ago
Rich Harris a7334b9148 Merge pull request #1165 from sveltejs/sigil-component-attribute-ssr
9 years ago
Rich Harris b47c62111d Merge pull request #1154 from sveltejs/gh-1065
9 years ago
Conduitry 1b551ca703 Merge branch 'master' into sigil-component-attribute-ssr
9 years ago
Conduitry 68b3b26166 do not escape html characters in tags in non-root <style> in SSR mode
9 years ago
Rich Harris af4e510916 Merge pull request #1160 from sveltejs/gh-1108
9 years ago
Conduitry acc7c244ed expand escape-template-literals test
9 years ago
Conduitry b65ab427ad fix escaping of sigils in component attribute values in SSR
9 years ago
Jacob Wright e1ae3d1a43 Add support to computed and store for immutable structures
9 years ago
Conduitry bef0f9b0c7 make test more robust
9 years ago
Conduitry 9d2ccbb433 add test
9 years ago
Rich Harris 7ff328a2f9 failing test for #1082
9 years ago
Conduitry 27fbf382ce remove <noscript> elements in DOM mode (#1108)
9 years ago
Rich Harris 02574812ee error on unclosed comments and blocks with only whitespace
9 years ago
Rich Harris 4d312302ff Merge branch 'empty-each-blocks' of https://github.com/Crisfole/svelte into Crisfole-empty-each-blocks
9 years ago
Rich Harris 979a16f165 Merge pull request #1155 from sveltejs/ssr-escape-attribute-values
9 years ago
Rich Harris fc3e150a8c Merge pull request #1149 from sveltejs/gh-1138
9 years ago
Christopher Pfohl 35a9edbb9c Make sure scripts are passing good data so it's only the parse that can go wrong
9 years ago
Christopher Pfohl 40633327c4 Empty Each Blocks should have consistent behavior.
9 years ago
Conduitry 3d238b0846 escape attribute values in SSR
9 years ago
Rich Harris dd47757d3b prevent erroneous missing data warnings for custom elements - fixes #1065
9 years ago
Rich Harris 91e16dd411 component store bindings - fixes #1100
9 years ago
Rich Harris 40a5d3bb50 in custom elements, call oncreate in connectedCallback - fixes #1117
9 years ago
Rich Harris 5d17248074 prevent await blocks using stale state - fixes #1131
9 years ago
Rich Harris a69442734d remove empty style blocks in prod mode - fixes #1138
9 years ago
Rich Harris 7d0ebc36fc Merge pull request #1145 from jacobmischka/fix-destructured-hoisting
9 years ago
Jacob Mischka 00ba7c5176 Add audio video volume binding (#1148)
9 years ago
Jacob Mischka f831405682 Add destructured context container to usedContexts
9 years ago
Rich Harris dc7ff61de7 Merge pull request #1137 from sveltejs/gh-1135
9 years ago
Rich Harris ca2a33e702 Merge branch 'master' into gh-1135
9 years ago
Rich Harris e2efbdf36d Merge branch 'master' into gh-1062-again
9 years ago
Rich Harris fed4c69f13 change test outcome for uninitialised component bindings inside conditionals
9 years ago
Rich Harris f004837196 update snapshot tests
9 years ago
Rich Harris 89ce3ae3d5 run oncreate functions in sensible order (#1135)
9 years ago
Conduitry 8f06877504 update jsdom; update `window.performance.now` test shim
9 years ago
Conduitry f71fc96c92 another stab at #1062; also fix attribute case in static HTML
9 years ago
Conduitry 5e68edeb4a fix handling of boolean attributes in SSR (#1109)
9 years ago
Rich Harris e97d9edbaf fix test failure
9 years ago
Rich Harris a67aa5db2e Merge branch 'issue-1091' of https://github.com/emilos/svelte into emilos-issue-1091
9 years ago
Rich Harris b9647ff966 Merge pull request #1106 from sveltejs/gh-1083
9 years ago
Rich Harris 2abed15c99 oops
9 years ago
Rich Harris 557035c887 handle wacky identifier names in templates
9 years ago
Rich Harris 563fd552dd Merge pull request #1112 from sveltejs/gh-1110
9 years ago
James Birtles 0e7bf529c2 addd failing nested store test
9 years ago
Conduitry e85b8edfe7 do not run a11y validation on child component elements (#1110)
9 years ago
Rich Harris 084eb39fbd simplify test slightly, add test for reserved words
9 years ago
Rich Harris ea07020d8a fix expected error position, tweak expected message to include suggested alternative
9 years ago
Rich Harris b76818c6c2 run prettier (spaces -> tabs)
9 years ago
Rich Harris 2ef77052d5 Merge branch 'master' of https://github.com/asweingarten/svelte into asweingarten-master
9 years ago
Rich Harris ccbba4b487 Merge pull request #1094 from sveltejs/gh-1061-b
9 years ago
Emil Ajdyna 7c58d0520c Base scoping hashes on CSS content rather than entire file
9 years ago
asweingarten 417acc3236 [1083] Svelte should throw a compile time error when illegal characters are used in computed names
9 years ago
Rich Harris 40fe045c6b Merge pull request #1093 from sveltejs/gh-1061-a
9 years ago
Rich Harris d56ae292ed Merge pull request #1095 from sveltejs/gh-1062
9 years ago
Rich Harris 0761f25683 be more relaxed about attribute casing - fixes #1062
9 years ago
Rich Harris 4abd7b416d fire oncreate handlers for components inside await blocks (#1061)
9 years ago
Rich Harris 7b0e577a52 validate contents of await blocks (#1061)
9 years ago
Rich Harris 02898f8d37 deconflict referenced globals - fixes #1079
9 years ago
Rich Harris d5e93c6d51 add test to ensure only <, > and & are escaped
9 years ago
Conduitry 11d909b9c4 update test
9 years ago
Rich Harris a42ca8d28a Merge pull request #1076 from emilos/a11y
9 years ago
Rich Harris fc1505f883 Merge pull request #1072 from sveltejs/gh-1071
9 years ago
Emil Ajdyna d44f922df8 Allow xlink:href attribute
9 years ago
Rich Harris ae5b15baba reuse timeout function
9 years ago
Rich Harris 9923d6131f escape HTML - fixes #1066
9 years ago
Rich Harris 0d1af53840 remove incorrect test
9 years ago
Rich Harris 9fcb2f4f7f failing tests for #1066
9 years ago
Rich Harris c22e0cfd1b lock scroll bindings to allow tweening - fixes #1071
9 years ago
Rich Harris 49fc3eee5d prevent main fragment being created twice - fixes #1063
9 years ago
Rich Harris 96ca2bd1b7 propagate console events inside nightmare
9 years ago
Rich Harris ee571319af Merge pull request #1053 from sveltejs/gh-1027
9 years ago
Rich Harris 71ac27cb14 Merge pull request #1059 from sveltejs/gh-54
9 years ago
Rich Harris 62a385a8a2 only optimise <title> inside <:Head>
9 years ago
Rich Harris a587fb6303 Merge branch 'master' into gh-1027
9 years ago
Rich Harris 3515e488d1 Merge pull request #1052 from sveltejs/gh-1051
9 years ago
Rich Harris fb60f9f80a Merge pull request #1054 from sveltejs/gh-1026
9 years ago
Rich Harris 5c1f6ff206 add option to disable two-way binding (#54)
9 years ago
Rich Harris f51ab57088 dont create text nodes inside <:Head> - fixes #1026
9 years ago
Rich Harris 1b2949f572 optimise <title> - fixes #1027
9 years ago
Rich Harris d7e236f7cc warn on unused events/transitions - fixes #1051
9 years ago
Rich Harris d0136fe543 detect unused/misplaced components - closes #1039
9 years ago
Rich Harris 5304abf915 fix data references in event handlers inside await-then-catch (fixes #1032)
9 years ago
Rich Harris b61e3c8a35 Merge pull request #1048 from sveltejs/gh-1022
9 years ago
Rich Harris 8e67c210c9 Merge pull request #1047 from sveltejs/gh-1040
9 years ago
Rich Harris c2aeead86e reenable tests
9 years ago
Rich Harris 5c54cad290 boy do i feel stupid. fixes #1022
9 years ago
Rich Harris 94f7b959b8 create initial data for dynamic components in correct place - fixes #1040
9 years ago
Rich Harris e323373c08 fix toString method in SSR output - closes #1044
9 years ago
Rich Harris 721cf679aa tweak error wording slightly
9 years ago
Emil Ajdyna 2523e47180 Check against this usage in computed functions
9 years ago
Rich Harris f639bbed42 get store() to work with nested components in SSR compiler
9 years ago
Rich Harris 28e3ecdb3e can just use options here
9 years ago
Emil Ajdyna 8609956e22 Add state() method handling for components
9 years ago
Rich Harris bd85fc13fc Merge pull request #1024 from sveltejs/gh-1013
9 years ago