Commit Graph

261 Commits (3cfb823076a488512496b6158ffc176e2c0005bf)

Author SHA1 Message Date
Rich-Harris 3cfb823076 tidy up
10 years ago
Rich-Harris 7132551183 factor in attributes and bindings
10 years ago
Rich-Harris b574c405eb conditionalise each-block updates
10 years ago
Rich-Harris ab19649dfa preprocess template, so that we can discover dependencies ahead of time
10 years ago
Rich-Harris d00348d3d6 reduce noise a bit
10 years ago
Rich-Harris 30d4c1c166 less indirection when mounting
10 years ago
Rich-Harris 1d5018bf1e tame each-block code a bit
10 years ago
Rich-Harris 3d259f46ee rename some things so they make more sense
10 years ago
Rich-Harris 34622a8a5a tidy up
10 years ago
Rich-Harris 7a3611b5df wait this is actually way easier
10 years ago
Rich-Harris 227ce7928c alternative approach - dont init observer if data has not changed
10 years ago
Rich-Harris 4c3aa0a36f prevent component binding blowback on initial render
10 years ago
Rich-Harris ef52a93699 ensure binding event handlers precede normal ones (fixes #486)
10 years ago
Rich-Harris 51ff9ecfa6 allow helpers to depend on one another (closes #481)
10 years ago
Rich-Harris 02e55e8f7a update select value bindings at the end of the cycle (fixes #476)
10 years ago
Conduitry c6304b19f7 only warn on missing properties in dev mode, do not warn on whitelisted globals
10 years ago
Rich-Harris a47a679e38 replace all invalid characters in attribute names when creating variables (fixes #470)
10 years ago
Rich Harris faa287f5f3 Merge pull request #468 from sveltejs/gh-465
10 years ago
Rich Harris 2069372369 remove hardcoded component reference
10 years ago
Rich Harris 79b5ce090e Merge branch 'master' into gh-465
10 years ago
Rich Harris 7176001963 Merge branch 'master' into readonly-dev-warning
10 years ago
Rich Harris eaf5b6bfc7 Merge pull request #462 from sveltejs/gh-404-online
10 years ago
Rich Harris 229d9f0a5f Merge pull request #461 from sveltejs/gh-404-scroll
10 years ago
Rich Harris 91a58a0f26 fix all aliasing tests
10 years ago
Rich Harris a793398d63 catch hardcoded names that should be aliases (#465)
10 years ago
Rich Harris 352bb3d354 ensure hoisted event handler names are globally unique — fixes #466
10 years ago
Conduitry e76f4fe6cd recognize component name as a global identifier to be avoided (#451)
10 years ago
Rich Harris 5f2c6e3c19 merge master -> readonly-dev-warning
10 years ago
Rich Harris 8b38b2b802 throw if user sets read-only properties in dev mode
10 years ago
Rich Harris 38ae43f6d7 add bind:online to <:Window/> (#404)
10 years ago
Rich Harris 783cd383e3 window scroll bindings are bidirectional (#404)
10 years ago
Rich Harris 79c456333c Merge pull request #460 from sveltejs/gh-450
10 years ago
Rich Harris b096385df1 lint
10 years ago
Rich Harris 2852b96e65 collapse consecutive if-statements with the same condition (#450)
10 years ago
Rich Harris 182a04e8fc dont create whitespace nodes inside elements like <select> (#189)
10 years ago
Rich Harris 93e51d6ef3 correctly bind one-way select value attributes (#423)
10 years ago
Rich Harris fb9edf2f57 align component code more closely with post-refactor element code
10 years ago
Rich Harris 1e2c8593f2 hoist some event handlers, rewrite non-hoisted ones to avoid binding
10 years ago
Rich-Harris 9561a36eb2 more refactoring
10 years ago
Rich-Harris 4a782bc8f6 refactor a lot of attribute code
10 years ago
Rich-Harris e960e8b5c5 move some files, tidy up a bit
10 years ago
Rich-Harris 57f1b64ddb start refactoring element code a bit
10 years ago
Rich-Harris 731f09d173 Merge branch 'master' into refactor
10 years ago
Rich-Harris 67967b1a83 DRY out block.tmp stuff
10 years ago
Rich-Harris 8148230e49 align SSR compiler with DOM compiler
10 years ago
Rich-Harris f88788cc29 rename fragment to block everywhere
10 years ago
Rich-Harris 0050871197 more consistent naming
10 years ago
Rich-Harris aa41135f21 remove redundant addSourcemapLocations calls
10 years ago
Rich-Harris 552820cd7f rename Fragment to Block
10 years ago
Rich-Harris bd85ffbf28 move render logic into fragment
10 years ago