Commit Graph

107 Commits (4b87d20b9351155fe551567bb747996ebefff154)

Author SHA1 Message Date
Rich Harris ca7e90083e can just use options here
9 years ago
Emil Ajdyna d398b34a41 Add state() method handling for components
9 years ago
Rich Harris 394dec9f11
Merge pull request #1024 from sveltejs/gh-1013
9 years ago
Rich Harris 8a3898c6cb fix unrelated bug that was causing tests to fail
9 years ago
Emil Ajdyna fadeeaf177 Expose root as a public property
9 years ago
Rich Harris 81f449093d
emit dev mode error for bad arguments to set - fixes #990
9 years ago
Rich Harris 82fc0f2713
Merge branch 'master' into gh-654
9 years ago
Rich Harris d783993d23 halfway there
9 years ago
Rich Harris f80ace5fd6 client-side store subscriptions
9 years ago
Rich Harris 775866780e
combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
9 years ago
Rich Harris 96428312ec check component exists after _bind before continuing - fixes #917
9 years ago
Rich Harris f659fd8391 remove unused _yield property
9 years ago
Rich Harris 2b2a1b40ce use short method names
9 years ago
Rich Harris c8f094cf80 remove unused destroyEach and destroy arguments
9 years ago
Rich Harris 6f0961ed5a remove oldState from recompute
9 years ago
Rich Harris ef3cf34367 tighten up a bit more
9 years ago
Rich Harris bd002f94bc extract some shared init logic
9 years ago
Rich Harris 1bdd624b35 prevent accidentally reintroducing ES6 into shared helpers
9 years ago
P 072f541855 Change let -> var, solves #838
9 years ago
Rich Harris d75ab8544e remove requestAnimationFrame stuff, convert time ranges to {start, end} objects
9 years ago
Rich Harris 75651bb070 use component name in runtime dev warnings - fixes #781
9 years ago
Rich Harris 7401590fba Merge branch 'master' into gh-797
9 years ago
Rich Harris 186b770ef4 use helper for setting styles
9 years ago
Rich Harris 118988c16b append host element, not contents, when component is nested
9 years ago
Rich Harris f5958584d9 dont noop set/get until after component is destroyed (fixes #788)
9 years ago
Rich Harris d1a6f9c11e only use comments around <slot> as necessary
9 years ago
Rich Harris 6499d4714d only use noscript if necessary
9 years ago
Rich Harris 143d0ea753 dont actually render <slot> elements
9 years ago
Rich Harris 7a8c8fd577 replace {{yield}} with <slot/>
9 years ago
Rich Harris f7b829820f add legacy option, use it for setInputType (#773)
9 years ago
Rich Harris 12e9a9276c almost working
9 years ago
Rich Harris 6366a4f55e update component bindings together. WIP
9 years ago
Rich Harris 3daa7aa6b3 we can now do changed.foo instead of "foo" in changed - is faster and smaller
9 years ago
Rich Harris caffcd5f79 pass updated state to observers
9 years ago
Rich Harris 0f7e87c804 do dirty check in _set, so we can easily skip unnecessary computations later (#768)
9 years ago
Rich Harris fd3792bd60 replace destroy with noop on destroy
9 years ago
Rich Harris 44b73191c7 update tests
9 years ago
Rich Harris 85f5ebdec1 replace set with noop instead of checking _destroyed
9 years ago
Rich Harris 86fb0e4ced handle set after destroy, and move destroy into shared helpers
9 years ago
Rich Harris 197c7e70d0 rename _block to _lock
9 years ago
Rich Harris 0a806585b3 enforce order of operations
9 years ago
Rich Harris 3f65b8b38f rename postcreate to aftercreate
9 years ago
Rich Harris 2d2c68c26b NAILED IT
9 years ago
Rich Harris 84e6d0c5b7 remove _flush in favour of callAll
9 years ago
Rich Harris e9f17f34ff fire intro.start and outro.start events (#702)
9 years ago
Rich Harris d89d70e7a3 rename _renderHooks to _oncreate, since thats all its used for
9 years ago
Rich Harris f87c3328b5 Merge branch 'master' into codegen
9 years ago
Rich Harris d622bc3e47 use 31 instead of 33
9 years ago
Rich Harris 078f3ad8b6 simplify helpers
9 years ago
Rich Harris 7a877b5857 use bitshifting for magic perf boost
9 years ago