Commit Graph

116 Commits (v1.56.4)

Author SHA1 Message Date
ekhaled 6b886d628c move `|| null`
8 years ago
ekhaled e2d50617c2 fixes #1188, fixes #1201
8 years ago
Rich Harris cb8071acd4 allow observing $foo in dev mode - #1181
8 years ago
Rich Harris 1b599bd57b put _differs on prototype, remove runtime option
8 years ago
Jacob Wright 405c4f6371 Adding compiler option for immutable back in
8 years ago
Jacob Wright 9e877d9da1 Makes immutable a component option rather than a compile option
8 years ago
Jacob Wright 9a1d87494d Removes date checks and simplifies NaN checks, adds tests
8 years ago
Jacob Wright d2f8e472a5 Add support to computed and store for immutable structures
8 years ago
Rich Harris 5e41ecb34a run oncreate functions in sensible order (#1135)
8 years ago
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 775866780e
combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
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 c8f094cf80 remove unused destroyEach and destroy arguments
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 1bdd624b35 prevent accidentally reintroducing ES6 into shared helpers
8 years ago
P 072f541855 Change let -> var, solves #838
8 years ago
Rich Harris d75ab8544e remove requestAnimationFrame stuff, convert time ranges to {start, end} objects
8 years ago
Rich Harris 75651bb070 use component name in runtime dev warnings - fixes #781
8 years ago
Rich Harris 7401590fba Merge branch 'master' into gh-797
8 years ago
Rich Harris 186b770ef4 use helper for setting styles
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 d1a6f9c11e only use comments around <slot> as necessary
8 years ago
Rich Harris 6499d4714d only use noscript if necessary
8 years ago
Rich Harris 143d0ea753 dont actually render <slot> elements
8 years ago
Rich Harris 7a8c8fd577 replace {{yield}} with <slot/>
8 years ago
Rich Harris f7b829820f add legacy option, use it for setInputType (#773)
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