Commit Graph

39 Commits (0a7cf0e73e386e46a692e06d540703c435d4d003)

Author SHA1 Message Date
Ignatius Bagus b295d68ec6
fix types: allow writable/readable empty initialization (#6293)
4 years ago
Conduitry 5107ad38b6
fix deriving from RxJS observables (#4300)
5 years ago
Richard Harris c1a3679806 remove ts-node - no typescript inside test/
5 years ago
Brian Takita bbeafbafab fixes https://github.com/sveltejs/svelte/issues/3191
5 years ago
Richard Harris e5be2ec348 lint
5 years ago
Rich Harris 2d5f11a308 handle rxjs-style observables with get_store_value - fixes #3153
5 years ago
Richard Harris 65eb5bb340 only call subscriber once for writable with callback - fixes #3022
5 years ago
James Garbutt caebe0deb8 Introduce ESLint to svelte sources (#2958)
5 years ago
Rich Harris 3805421d44 solve diamond dependencies (#2660)
6 years ago
Richard Harris 0b12b89d3e oops
6 years ago
Richard Harris 0edb5debf2 handle non-falsy non-function deriver return values - fixes #2780
6 years ago
Sander Hahn 52eda23a53 advanced type for derived
6 years ago
Rich Harris fdc51de090 allow derivers to return cleanup functions - fixes #2553
6 years ago
Richard Harris a7265f65e3 use safe_not_equal logic for derived stores - fixes #2644
6 years ago
Conduitry 3170edb158 add initial_value argument to derived store
6 years ago
Conduitry 6e46a18969 rename `derive` to `derived`
6 years ago
Richard Harris f3cb540ce6 update readable signature to match writable - fixes #2296
6 years ago
Richard Harris a203bfd071 express readable in terms of writable
6 years ago
Richard Harris 41b14606b4 allow stores to work with mutable data - fixes #2171
6 years ago
Conduitry f6b3f38e89 expose get() from svelte/store (#2060)
6 years ago
Richard Harris 9e8e99caf6 add second argument to writable - fixes #2072
6 years ago
Rich Harris a2ff93cb72 glitch-free reactive stores
6 years ago
Rich Harris f45e2b70fd
Implement reactive assignments (#1839)
6 years ago
Dmitry Kurmanov 07b7212783
Update index.js
6 years ago
Rich Harris 367f062e4e fix and simplify cycle detection
7 years ago
Rich Harris 923c64d086 put test alongside other store tests
7 years ago
Rich Harris 9bc8b74107 update store tests
7 years ago
Rich Harris 34d2fbfa58 remove ES5 constraint
7 years ago
Gareth Oates 389b5c9ff9 There was no test to determine if onchange cancel threw an error
7 years ago
Jacob Wright 9a1d87494d Removes date checks and simplifies NaN checks, adds tests
7 years ago
Rich Harris fd8bbe3eb7 update test
7 years ago
Rich Harris a0d8d09003 guard against introducing ES6+isms into store.js
7 years ago
Rich Harris d479224067 prevent cyclical store computations, and computation duplication
7 years ago
Rich Harris d5d1eccb28 remove combineStores
7 years ago
Rich Harris adc248f639 make target store optional
7 years ago
Rich Harris 47547ed0ab better implementation of computed properties
7 years ago
Rich Harris a669dbfcd4 add combineStores function
7 years ago
Rich Harris f23c886b6a computed properties
7 years ago
Rich Harris d0e5098ea6 implement Store
7 years ago