Commit Graph

410 Commits (d17de8c51dcf9d6d7c8d3bb64ceed6683566ce21)

Author SHA1 Message Date
Rich Harris d17de8c51d Merge pull request #501 from sveltejs/gh-498-b
10 years ago
Rich Harris 425aec2bf5 Merge pull request #500 from sveltejs/gh-498
10 years ago
Rich Harris f591a5e844 Merge pull request #499 from sveltejs/gh-495
10 years ago
Rich-Harris 2833cda8b4 use existing node.initialUpdate mechanism
10 years ago
Taylor Zane Glaeser 2205f5ce36 Added block to create method that will initialize a select element with the value bound to `value`.
10 years ago
Rich-Harris 430037cb9c whoops
10 years ago
Rich-Harris c6aa61ae1f allow dynamic each-block to have static else-block
10 years ago
Rich-Harris 07166c3d8a use string keypath, not sourcemappable snippet, for determining binding groups — fixes #498
10 years ago
Rich-Harris 0d459b949c ensure var names in binding callbacks are unique — fixes #495
10 years ago
Rich Harris 89ddb184af Merge branch 'master' into gh-406
10 years ago
Rich Harris 5a63c6accf Merge pull request #497 from sveltejs/window-events
10 years ago
Rich-Harris 6c6a03f3a1 use map rather than object
10 years ago
Rich-Harris f141d8d185 prevent audio restarting when it reaches the end
10 years ago
Rich-Harris c3312b50b0 prevent timer proliferation
10 years ago
Rich-Harris a7e7fb6423 Merge branch 'window-events' into gh-406
10 years ago
Rich-Harris 509328ceb2 allow window events to access state
10 years ago
Rich-Harris ce060c1679 implement bind:duration and bind:paused
10 years ago
Rich-Harris 20ef3734fa implement bind:currentTime
10 years ago
Rich-Harris 5534e565bd validate bindings
10 years ago
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