Commit Graph

391 Commits (6e89ce0bfbd6c081ad2bd75600764ea00480c5a1)

Author SHA1 Message Date
Rich-Harris eb76a28f8d helpers should not be considered dependencies — fixes #492
10 years ago
Rich-Harris a1b191fce9 style consistency
10 years ago
Rich-Harris adaccacc32 optimise simple if-blocks
10 years ago
Rich-Harris b69f62c752 implement block.alias, so consecutive each-blocks dont get i, i_1, i_2...
10 years ago
Rich-Harris dc6fa6ff24 collapse text around comments
10 years ago
Rich-Harris b4115ac2ec separate if statements in codebuilder
10 years ago
Rich-Harris 6f5f961c8a exclude indexes from dependencies
10 years ago
Rich-Harris df468e3afb use correct dependencies for each-block updates
10 years ago
Rich-Harris 29b660e5e7 dont create yield block for childless component
10 years ago
Rich-Harris aa67df7fbb simplify if-block switching code
10 years ago
Rich-Harris eebd933427 remove some unused code
10 years ago
Rich-Harris 874f241bfb dont recompute dependencies
10 years ago
Rich-Harris 5d986f56bd contextualise is only called once per expression
10 years ago
Rich-Harris 796ee21cc2 rename some variables so that they make more sense
10 years ago
Rich-Harris b50ad08506 get rid of tmp variable, we dont need it
10 years ago
Rich-Harris f75a2f0aba dont update static subtrees, even with a noop
10 years ago
Rich-Harris 35a45799f2 more tidying up
10 years ago
Rich-Harris 2fe7539a01 create all blocks in preprocess step
10 years ago
Rich-Harris 1edfe23803 create each-block else child blocks in preprocess step
10 years ago
Rich-Harris 423f48f2c5 tidy up
10 years ago
Rich-Harris 84879139a5 factor in attributes and bindings
10 years ago
Rich-Harris 9818346e86 conditionalise each-block updates
10 years ago
Rich-Harris 72f4941417 preprocess template, so that we can discover dependencies ahead of time
10 years ago
Rich-Harris 4ef3e005fb reduce noise a bit
10 years ago
Rich-Harris 8ed6f7068f less indirection when mounting
10 years ago
Rich-Harris 87d794d928 tame each-block code a bit
10 years ago
Rich-Harris c80ec3a1a2 rename some things so they make more sense
10 years ago
Rich-Harris 879e783975 tidy up
10 years ago
Rich-Harris d027851e43 wait this is actually way easier
10 years ago
Rich-Harris 8367e44118 alternative approach - dont init observer if data has not changed
10 years ago
Rich-Harris d0d17bfde7 prevent component binding blowback on initial render
10 years ago
Rich-Harris 134e9b6f9d ensure binding event handlers precede normal ones (fixes #486)
10 years ago
Rich-Harris 4c927c0c26 clone before set — fixes #479
10 years ago
Rich-Harris 097a7c38c0 allow helpers to depend on one another (closes #481)
10 years ago
Rich Harris 3ba49f07bc Merge pull request #478 from sveltejs/gh-476
10 years ago
Rich Harris bbf2b12bfc Merge pull request #473 from sveltejs/gh-166
10 years ago
Rich-Harris 04db04cbd5 update select value bindings at the end of the cycle (fixes #476)
10 years ago
Conduitry 11dcbc1e68 only warn on missing properties in dev mode, do not warn on whitelisted globals
10 years ago
Rich Harris bdf58ee3c2 handle this.get special case in helpers
10 years ago
Rich Harris 3f7f643816 enforce helper function purity
10 years ago
Rich Harris 453cb1e806 check that event handler callee corresponds to a valid method
10 years ago
Rich Harris 97e0dd62bd validate namespaces
10 years ago
Rich-Harris 24c8782165 replace all invalid characters in attribute names when creating variables (fixes #470)
10 years ago
Rich Harris c853c79bf6 Merge pull request #468 from sveltejs/gh-465
10 years ago
Rich Harris 5cc4d40ba1 remove hardcoded component reference
10 years ago
Rich Harris f75d345f3d Merge branch 'master' into gh-465
10 years ago
Rich Harris 6258a7c09e Merge branch 'master' into readonly-dev-warning
10 years ago
Rich Harris 627323cd3f Merge pull request #462 from sveltejs/gh-404-online
10 years ago
Rich Harris a8e5a9c49e Merge pull request #461 from sveltejs/gh-404-scroll
10 years ago
Rich Harris d9590bd65a fix all aliasing tests
10 years ago