Commit Graph

485 Commits (6e21fa87f6a3e9e7f7025b23103be07347f08895)

Author SHA1 Message Date
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 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 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 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 6719958169 remove cascade option
8 years ago
Rich Harris 842e49155c update validation tests
8 years ago
Rich Harris 53963dc7e6 remove store option
8 years ago
Rich Harris 3db454c91d remove v1 runtime tests
8 years ago
Rich Harris b6d93feba6 dont typecast numeric attributes
8 years ago
Rich Harris 75c86887b8 remove code, map and cssMap from svelte.compile output
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 d045e3907d remove ES5 constraint
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 3b4b8c25d5 implement onstate and onupdate
8 years ago
Rich Harris 2855fbdc32 add some onstate/onupdate tests
8 years ago
Conduitry b7145ffaee in v2, don't parse for interpolations in non-root style elements (#1339)
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 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 22308a02ea support custom events on <:Window> - fixes #1268
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 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 3af38db0f2 Merge pull request #1289 from sveltejs/gh-195
9 years ago
Rich-Harris 29f8b28747 handle boolean attributes
9 years ago
Rich-Harris aea4caaf2a fix element spread SSR
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 b7589e3162 Merge branch 'custom-event-teardown' of https://github.com/ekhaled/svelte into ekhaled-custom-event-teardown
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
Rich-Harris 8a38ba3636 basic attribute spreading on elements
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 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 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
Jacob Wright e7eb8aff2f Adds some runtime tests for the immutable option
9 years ago
Rich Harris 98fead1c64 increase test coverage
9 years ago