Commit Graph

1325 Commits (cb1978e93725d10fb353e95ef453f58016bb1665)

Author SHA1 Message Date
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
8 years ago
Rich Harris c6157909c3 fix debugging comments
8 years ago
Rich Harris 23f8f87243 fix head/window meta tags
8 years ago
Rich Harris d1ca636120 v2 js tests
8 years ago
Rich Harris 9235efb8dd more tests, support svelte: elements
8 years ago
Rich Harris 22bb74413a add validator tests
8 years ago
Rich Harris 0ac3a522d9 attribute shorthand
8 years ago
Rich Harris dd2de33df3 fix #1331
8 years ago
Rich-Harris 8e95bf5111 brute force new keyed each block syntax
8 years ago
Rich-Harris ac13b72bd6 update parser for v2
8 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