Commit Graph

43 Commits (ca7e90083e42778fbdc279ebb9987b59435c76e8)

Author SHA1 Message Date
Rich Harris ca7e90083e can just use options here
8 years ago
Emil Ajdyna d398b34a41 Add state() method handling for components
8 years ago
Rich Harris 394dec9f11
Merge pull request #1024 from sveltejs/gh-1013
8 years ago
Rich Harris 8a3898c6cb fix unrelated bug that was causing tests to fail
8 years ago
Emil Ajdyna fadeeaf177 Expose root as a public property
8 years ago
Rich Harris 81f449093d
emit dev mode error for bad arguments to set - fixes #990
8 years ago
Rich Harris 82fc0f2713
Merge branch 'master' into gh-654
8 years ago
Rich Harris d783993d23 halfway there
8 years ago
Rich Harris f80ace5fd6 client-side store subscriptions
8 years ago
Rich Harris 96428312ec check component exists after _bind before continuing - fixes #917
8 years ago
Rich Harris f659fd8391 remove unused _yield property
8 years ago
Rich Harris 2b2a1b40ce use short method names
8 years ago
Rich Harris 6f0961ed5a remove oldState from recompute
8 years ago
Rich Harris ef3cf34367 tighten up a bit more
8 years ago
Rich Harris bd002f94bc extract some shared init logic
8 years ago
Rich Harris 75651bb070 use component name in runtime dev warnings - fixes #781
8 years ago
Rich Harris 118988c16b append host element, not contents, when component is nested
8 years ago
Rich Harris f5958584d9 dont noop set/get until after component is destroyed (fixes #788)
8 years ago
Rich Harris 12e9a9276c almost working
8 years ago
Rich Harris 6366a4f55e update component bindings together. WIP
8 years ago
Rich Harris 3daa7aa6b3 we can now do changed.foo instead of "foo" in changed - is faster and smaller
8 years ago
Rich Harris caffcd5f79 pass updated state to observers
8 years ago
Rich Harris 0f7e87c804 do dirty check in _set, so we can easily skip unnecessary computations later (#768)
8 years ago
Rich Harris fd3792bd60 replace destroy with noop on destroy
8 years ago
Rich Harris 44b73191c7 update tests
8 years ago
Rich Harris 85f5ebdec1 replace set with noop instead of checking _destroyed
8 years ago
Rich Harris 86fb0e4ced handle set after destroy, and move destroy into shared helpers
8 years ago
Rich Harris 197c7e70d0 rename _block to _lock
8 years ago
Rich Harris 0a806585b3 enforce order of operations
8 years ago
Rich Harris 3f65b8b38f rename postcreate to aftercreate
8 years ago
Rich Harris 2d2c68c26b NAILED IT
8 years ago
Rich Harris 84e6d0c5b7 remove _flush in favour of callAll
8 years ago
Rich Harris e9f17f34ff fire intro.start and outro.start events (#702)
8 years ago
Rich Harris d89d70e7a3 rename _renderHooks to _oncreate, since thats all its used for
8 years ago
Rich Harris 84595fb381 run prettier on src, update tests
8 years ago
Rich-Harris 2a5b0ee1a4 support very basic outro transitions
8 years ago
Rich-Harris 8ccad1f107 first working intro transition, woooo
8 years ago
Rich-Harris e56f09dfe5 clone before set — fixes #479
9 years ago
Rich-Harris 51ff9ecfa6 allow helpers to depend on one another (closes #481)
9 years ago
Rich-Harris e592c052aa use assign helper, to avoid compatibility headaches
9 years ago
Rich-Harris 44287f846a recompute computed values with functions as dependencies (#413)
9 years ago
Rich-Harris 9d37ae4f4b move methods out of constructor
9 years ago
Rich-Harris a16704fbf0 use helpers for DOM operations
9 years ago