Commit Graph

48 Commits (0599b5fca5dc4f50fc37b87518d6dd8f047e24fc)

Author SHA1 Message Date
Rich Harris 7b4c486be9 only apply key to keyed each block, not its children - fixes #1202
8 years ago
Rich Harris 27f6d560b5 remove some unused code etc
8 years ago
Rich Harris 7baba8bf8c all tests passing
8 years ago
Rich Harris 71f2c350ec remove _context stuff
8 years ago
Rich Harris b94f63ed70 everything working except some destructuring stuff
8 years ago
Rich Harris a0aeb98685 various fixes
8 years ago
Rich Harris 0b39cafc67 start implementing context
8 years ago
Rich Harris cf7104dbaa fix data references in event handlers inside await-then-catch (fixes #1032)
8 years ago
Rich Harris 291a0baa16 unmount head children correctly
8 years ago
Rich Harris 50654fab88 remove <:Document>, implement <:Head> on client-side
8 years ago
Rich Harris e57ddb0503 add new <:Document> meta-component
8 years ago
Rich Harris a8eaa7e95c refactor
8 years ago
Rich Harris d590dbe165
Reinstate code coverage
8 years ago
Rich Harris 51901442c9
attach globals to state object on initialisation
8 years ago
Jacob Mischka 5d27d3fda7
Add array destructuring for each contexts
8 years ago
Rich Harris 2b2a1b40ce use short method names
8 years ago
Rich Harris 74d84d81e9 remove incorrect argument
8 years ago
Rich Harris 6e57fa3ced add debugging comments
8 years ago
Rich Harris e993ae0748 more consistent style for generated code
8 years ago
Rich Harris f31c206b73 tidy up, dedupe a bit
8 years ago
Rich Harris 531354fc39 only cache values when it makes sense
8 years ago
Rich Harris bfc940f396 handle funky edge case around outroing blocks
8 years ago
Rich Harris c84f120e4b Merge branch 'master' into hoist-if-block-selectors
8 years ago
Rich Harris 177e7d09c3 hoist if block selectors
8 years ago
Conduitry b869e48bff saner escaping/unescaping of `@` and `#` sigils
8 years ago
Rich Harris 7b3c69b348 correctly unescape @ symbols (#712)
8 years ago
Rich Harris ebae9f9c28 run prettier
8 years ago
Rich Harris 8402ae9c24 use #target and #component instead of block.target and block.component
8 years ago
Rich Harris 334772a11d use #foo instead of block.alias("foo")
8 years ago
Rich Harris 078f3ad8b6 simplify helpers
8 years ago
Rich Harris b47e2527b3 test with hydratable: true and hydratable: false
8 years ago
Rich Harris fdb750ee5c keyed each block and select fixes
8 years ago
Rich Harris 0bbd917442 more hydration
8 years ago
Rich Harris 14fe89eae8 hydration working with elements, text nodes, tags and if blocks
8 years ago
Rich Harris 9a70ca7874 mark indirect dependencies of <select> bindings - #639
8 years ago
Rich Harris 4b1f1e8392 TS-ify spaces.js and deindent.js, so they get included in prettier task
8 years ago
Rich Harris b0a1616e31 add trailing commas to prettier config, only run on .ts files
8 years ago
Rich Harris 84595fb381 run prettier on src, update tests
8 years ago
Rich Harris 8a57ae8b54 tidy up
8 years ago
Rich Harris 5c055a9f0c separate unmount from destroy
8 years ago
Rich-Harris 4486b93d88 more TS
8 years ago
Rich-Harris dc82db609c more TS
8 years ago
Rich-Harris 78adc5b226 more TS
8 years ago
Rich-Harris 7c3fca57cf more typescript conversion
8 years ago
Rich-Harris 8d07a5f9bd gah, rollup needs the file extensions. which idiot wrote it
8 years ago
Rich-Harris e85bec00a2 add a few type annotations
8 years ago
Rich-Harris 13b87acfb9 remove .ts file extensions
8 years ago
Rich-Harris 1c5e6e7430 rename all (almost) .js files
8 years ago