Commit Graph

451 Commits (6e21fa87f6a3e9e7f7025b23103be07347f08895)

Author SHA1 Message Date
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 c5aa5693e5 merge master -> mrkishi-spreadh
9 years ago
Rich Harris 22028c094c Merge pull request #1279 from jacwright/action-this
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 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
Jacob Wright a5ed6cbe18 Adds actions to components
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 ad0ce6fde2 simplify updateKeyedEach
9 years ago
Rich Harris 8678f39bce Merge pull request #1249 from btakita/issues/588
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
Rich Harris 05d23f6101 failing test for #1240
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 5169ef1cb1 allow SVG elements to have scoped CSS - fixes #1224
9 years ago
Rich Harris cd5e68e648 add each_value to contextProps - fixes #1206
9 years ago
pk 95bbf585fe failing test for #1217
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 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
Rich Harris 1dca323660 only apply key to keyed each block, not its children - fixes #1202
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 5a8a2dff9c Merge branch 'master' into gh-1144
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
Robert Hall 61ac049b70 Using pageYOffset & pageXOffset
9 years ago
Rich Harris c7acf71efd Merge branch 'immutable-support' of https://github.com/jacwright/svelte into jacwright-immutable-support
9 years ago
Jacob Wright e7eb8aff2f Adds some runtime tests for the immutable option
9 years ago
Rich Harris 98fead1c64 increase test coverage
9 years ago
Rich Harris f9e5bb3d18 failing test for second part of #1100
9 years ago
Rich Harris 4106840a00 Merge pull request #1153 from sveltejs/gh-1100
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
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
Conduitry 3d238b0846 escape attribute values in SSR
9 years ago
Rich Harris 91e16dd411 component store bindings - fixes #1100
9 years ago
Rich Harris 5d17248074 prevent await blocks using stale state - fixes #1131
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 fed4c69f13 change test outcome for uninitialised component bindings inside conditionals
9 years ago
Rich Harris 89ce3ae3d5 run oncreate functions in sensible order (#1135)
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
James Birtles 0e7bf529c2 addd failing nested store test
9 years ago
Rich Harris ccbba4b487 Merge pull request #1094 from sveltejs/gh-1061-b
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 d5e93c6d51 add test to ensure only <, > and & are escaped
9 years ago
Rich Harris 9fcb2f4f7f failing tests for #1066
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 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 f639bbed42 get store() to work with nested components in SSR compiler
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
Rich Harris 84b70eac88 server-side <:Head>
9 years ago
Rich Harris 69dab15d8d remove <:Document>, implement <:Head> on client-side
9 years ago
Rich Harris 69a9fe042e deconflict properly
9 years ago
Rich Harris f0055e555b change server-side render method signature
9 years ago
Rich Harris 2390952973 add new <:Document> meta-component
9 years ago
Rich Harris feee1d9c8f implement preload
9 years ago
Rich Harris f5573cd8e8 Merge pull request #1019 from sveltejs/gh-1012
9 years ago
Rich Harris 1600a89b98 Merge pull request #1018 from sveltejs/gh-1014
9 years ago
Rich Harris 48dc90d9f7 remove solo
9 years ago
Rich Harris afcf2aa3f2 deconflict computed properties with arguments to _recompute - fixes #1012
9 years ago
Rich Harris f6995a800b allow await blocks in slots - fixes #1014
9 years ago
Rich Harris ffdae43b70 allow components without slots to have whitespace as only child - fixes #1007
9 years ago
Rich Harris 89305e63c9 await...then shorthand - fixes #957
9 years ago
Rich Harris d127015849 emit dev mode error for bad arguments to set - fixes #990
9 years ago
Rich Harris 877e811c99 don't add event to expectedProperties - fixes #972
9 years ago
Rich Harris 0fb180009e fix dynamic components inside elements - fixes #994
9 years ago
Rich Harris c64561458b Merge branch 'master' into gh-640
9 years ago
Rich Harris f54bfe29dd mount await blocks with siblings (#974), and unmount correctly (#975)
9 years ago
Rich Harris f5c5083881 fix tests, finish renaming stuff
9 years ago
Rich Harris 5e71d2fff4 slotted contents of dynamic components
9 years ago
Tim Hall d744b038e4 Failing test for #975
9 years ago
Tim Hall f5c608f357 Failing test for #974
9 years ago
Rich Harris cd534ab792 update props of existing dynamic component
9 years ago
Rich Harris e3ac083ab0 dynamic component bindings
9 years ago
Rich Harris b7d9c1e113 rename tests
9 years ago
Rich Harris 96267066b6 dynamic component event handlers
9 years ago
Rich Harris ef838363d9 client-side dynamic components mostly working (#640)
9 years ago
Rich Harris 3551019a75 dont transform bidi transitions twice - fixes #962
9 years ago
Rich Harris 4ba5d65a16 correctly mount await block that has an anchor
9 years ago
Rich Harris 6187a703c2 Merge branch 'master' into gh-654
9 years ago
Rich Harris 0b8ef112ca prevent boolean attributes breaking shapes inside estree-walker - fixes #961
9 years ago
Rich Harris 8a9044a848 fix test failures resulting from new JSDOM version
9 years ago
Rich Harris a354365798 gah i always forget this. need a pre-commit hook
9 years ago
Rich Harris cd8d144818 allow parameterised transitions - fixes #962
9 years ago
Rich Harris f3d5becac8 add combineStores function
9 years ago
Rich Harris 510515f4c8 ditch async/await in tests, so that they run in node 6
9 years ago
Rich Harris 5b0b115cfc await-then-catch with non-promise
9 years ago
Rich Harris 5cd47cfdbb basic client-side await-then-catch working
9 years ago
Rich Harris cfd6ff54f3 halfway there
9 years ago
Rich Harris 7e725b11b7 remove solo: true
9 years ago
Rich Harris e53b4f5386 fix tests, now that computed prop dependencies are expected
9 years ago
Rich Harris 5ec57f8b9a allow computed properties to depend on store props
9 years ago
Rich Harris fbc1785e36 allow event handlers to call store methods
9 years ago
Rich Harris fd63a56d52 store bindings
9 years ago
Rich Harris ff543bd171 reenable all tests
9 years ago
Rich Harris 1bd56a591f client-side store subscriptions
9 years ago
Rich Harris 7231693a9c append to the dom, not a document fragment, when updating each block in slot - fixes #927
9 years ago
Rich Harris 839e8905c9 attach globals to state object on initialisation
9 years ago
Rich Harris a532f36ab2 combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
9 years ago
Rich Harris cd97521daa update tests
9 years ago
Rich Harris 4116b9d8b1 use <option> children as value attribute, if none exists. fixes #928
9 years ago
Rich Harris c4b9538e2a Merge pull request #921 from sveltejs/gh-917
9 years ago
Rich Harris 21d995d904 dont use innerHTML for options inside optgroups - fixes #915
9 years ago
Rich Harris ce797a5ee7 oops
9 years ago
Rich Harris 06bdaa99da check component exists after _bind before continuing - fixes #917
9 years ago
Rich Harris a562314ffc Merge pull request #902 from sveltejs/gh-893
9 years ago
Rich Harris d2103c8ad8 oops
9 years ago
Rich Harris 4ff3a8693b skip async-await tests below node 8
9 years ago
Johnny Hauser ef0ad5f5f5 oncreate async tests (function, arrow, arrow block)
9 years ago
Rich Harris 7685f70a95 add test for #891
9 years ago
Rich Harris 562315c123 possible fix for #893
9 years ago
Conduitry 6af2d95191 add failing test for each block updates
9 years ago
Jacob Mischka 0984e80fad Remove Object.entries from test
9 years ago
Jacob Mischka cc4c5d36fb Add missing runtime test, add contexts to SSR
9 years ago
Conduitry 00856b412b more testing
9 years ago
Conduitry 8ed5a71fef expand unit test
9 years ago
Rich Harris 5f76cad961 fix escaping of %-prefixed names
9 years ago
Rich Harris 29c954487b fix indentation, update snapshot tests
9 years ago