Commit Graph

416 Commits (14826b76e55a220a0f9ca9df34beb2521fed542f)

Author SHA1 Message Date
Rich-Harris 14826b76e5 Merge branch 'window-events' into gh-406
9 years ago
Rich-Harris a4ba3e4acf reenable all tests
9 years ago
Rich-Harris f1bef92e9b allow window events to access state
9 years ago
Rich-Harris 1040db97cb implement bind:duration and bind:paused
9 years ago
Rich-Harris 359e67617d implement bind:currentTime
9 years ago
Rich-Harris b914a2294a validate bindings
9 years ago
Rich-Harris b9e097f830 make all tests run
9 years ago
Rich-Harris a010778ac6 helpers should not be considered dependencies — fixes #492
9 years ago
Rich-Harris 86413ef4fa optimise simple if-blocks
9 years ago
Rich-Harris 9f2bd988a0 collapse text around comments
9 years ago
Rich-Harris 3629c9e9a1 exclude indexes from dependencies
9 years ago
Rich-Harris 0c013cfd9b use correct dependencies for each-block updates
9 years ago
Rich-Harris 080afc99a8 simplify if-block switching code
9 years ago
Rich-Harris c9a2bf98a5 rename some variables so that they make more sense
9 years ago
Rich-Harris 2e7a429684 get rid of tmp variable, we dont need it
9 years ago
Rich-Harris 950f2ce2fd dont update static subtrees, even with a noop
9 years ago
Rich-Harris 92b49eed4e more tidying up
9 years ago
Rich-Harris b574c405eb conditionalise each-block updates
9 years ago
Rich-Harris db7fe861b2 failing test for #381
9 years ago
Rich-Harris 7a3611b5df wait this is actually way easier
9 years ago
Rich-Harris 4c3aa0a36f prevent component binding blowback on initial render
9 years ago
Rich-Harris ef52a93699 ensure binding event handlers precede normal ones (fixes #486)
9 years ago
Rich-Harris e56f09dfe5 clone before set — fixes #479
9 years ago
Rich Harris c0aa3ef7e1 Merge pull request #478 from sveltejs/gh-476
9 years ago
Rich Harris d4d7f6c53e Merge pull request #473 from sveltejs/gh-166
9 years ago
Rich-Harris 02e55e8f7a update select value bindings at the end of the cycle (fixes #476)
9 years ago
Conduitry c6304b19f7 only warn on missing properties in dev mode, do not warn on whitelisted globals
9 years ago
Rich Harris cc722f8f7a handle this.get special case in helpers
9 years ago
Rich Harris fa65f7af60 enforce helper function purity
9 years ago
Rich Harris c7ac8b82ba check that event handler callee corresponds to a valid method
9 years ago
Rich Harris 3595470305 validate namespaces
9 years ago
Rich-Harris a47a679e38 replace all invalid characters in attribute names when creating variables (fixes #470)
9 years ago
Rich Harris faa287f5f3 Merge pull request #468 from sveltejs/gh-465
9 years ago
Rich Harris 79b5ce090e Merge branch 'master' into gh-465
9 years ago
Rich Harris 7176001963 Merge branch 'master' into readonly-dev-warning
9 years ago
Rich Harris 229d9f0a5f Merge pull request #461 from sveltejs/gh-404-scroll
9 years ago
Rich Harris a793398d63 catch hardcoded names that should be aliases (#465)
9 years ago
Rich Harris 352bb3d354 ensure hoisted event handler names are globally unique — fixes #466
9 years ago
Rich Harris c61ce134df move some tests to where they belong
9 years ago
Conduitry 86035c3f99 unit test
9 years ago
Rich Harris 5f2c6e3c19 merge master -> readonly-dev-warning
9 years ago
Rich Harris 8b38b2b802 throw if user sets read-only properties in dev mode
9 years ago
Rich Harris 783cd383e3 window scroll bindings are bidirectional (#404)
9 years ago
Rich Harris 79c456333c Merge pull request #460 from sveltejs/gh-450
9 years ago
Rich Harris 9c166a86f0 Merge pull request #459 from sveltejs/gh-189
9 years ago
Rich Harris 2852b96e65 collapse consecutive if-statements with the same condition (#450)
9 years ago
Rich Harris 182a04e8fc dont create whitespace nodes inside elements like <select> (#189)
9 years ago
Rich Harris 99d6502bfd better error for attempts to use getters/setters for methods. closes #425
9 years ago
Rich Harris 93e51d6ef3 correctly bind one-way select value attributes (#423)
9 years ago
Rich Harris 1e2c8593f2 hoist some event handlers, rewrite non-hoisted ones to avoid binding
9 years ago