Commit Graph

253 Commits

Author SHA1 Message Date
Julien Fontanet
b1c73208c5 Do not return this. 2015-04-08 16:33:28 +02:00
Julien Fontanet
ab221a465b Use lodash.foreach instead of native implementation. 2015-04-08 16:32:46 +02:00
Julien Fontanet
4ecfa0477d Optimize Collection#_touch(). 2015-04-08 14:30:16 +02:00
Julien Fontanet
bab2de36ad Tests for events deduplication. 2015-04-08 14:24:07 +02:00
Julien Fontanet
f479e914bb #getId() should behave even if the item is null or undefined. 2015-04-08 12:00:52 +02:00
Julien Fontanet
45441653f6 #bufferChanges() → #bufferEvents(). 2015-04-08 11:51:18 +02:00
Julien Fontanet
0303558ae1 Prefer the term of item over entry. 2015-04-08 11:49:25 +02:00
Julien Fontanet
b70e0e3e2b Tests for #add(), #update(), #set() and #remove() with an object. 2015-04-08 11:40:07 +02:00
Julien Fontanet
5e0c4d7b7a Avoid Function#apply() for performance. 2015-04-08 10:50:04 +02:00
Julien Fontanet
6c83308451 Optimize Collection#get(). 2015-04-08 10:48:27 +02:00
Julien Fontanet
eeb898179e Minor simplification of buffer flushing. 2015-04-08 10:42:00 +02:00
Julien Fontanet
0ea662d8fe Replace let by const where possible. 2015-04-08 10:05:41 +02:00
Julien Fontanet
ea3219fa10 Typo. 2015-04-08 10:04:58 +02:00
Julien Fontanet
fb9203d396 Fix doc: unset() → remove(). 2015-04-07 18:49:20 +02:00
Julien Fontanet
23e7542871 Document Collection#all. 2015-04-07 18:15:38 +02:00
Julien Fontanet
a40832dffd Typo. 2015-04-07 18:06:17 +02:00
Julien Fontanet
5ba7493613 Better repo architecture. 2015-04-07 18:01:33 +02:00
Fabrice Marsaud
dd1d16f91c Fixes and enhancements 2015-04-02 16:49:40 +02:00
Fabrice Marsaud
cbd93f450e Implementation seems ok. Deeper tests to come 2015-04-02 15:32:08 +02:00
Fabrice Marsaud
35c64be3d7 All tests for "simple" buffer 2015-04-02 10:14:32 +02:00
Fabrice Marsaud
96ea70c027 Buffer implemented and tested 2015-04-01 18:06:23 +02:00
Fabrice Marsaud
a3d7e541d3 Events implemented and tested, without buffering 2015-04-01 15:06:39 +02:00
Fabrice Marsaud
92d7d61926 Various fixes and enhancements 2015-03-31 17:08:41 +02:00
Fabrice Marsaud
265d77d776 First main methods. No events, no buffer yet 2015-03-31 16:09:05 +02:00
Fabrice Marsaud
48d9fde3b6 Left over solution 2015-03-30 09:31:42 +02:00
Fabrice Marsaud
a9ea1a02ed Use let and const 2015-03-27 16:43:43 +01:00
Fabrice Marsaud
19cd5c8881 Minor renaming 2015-03-27 15:55:37 +01:00
Fabrice Marsaud
cdb9c661bd A first version without unit tests, but a gross test script 2015-03-27 15:55:37 +01:00
Fabrice Marsaud
c3a01c240b First base 2015-03-27 15:55:37 +01:00
Fabrice Marsaud
e2f748e63d Initial commit 2015-03-27 15:51:06 +01:00
Julien Fontanet
c539dd5570 0.6.3 2015-03-04 18:23:21 +01:00
Julien Fontanet
de76afea99 New implementation of Xo (fixes many issues). 2015-03-04 18:22:11 +01:00
Julien Fontanet
1d3616ae71 Minor changes. 2015-03-04 17:42:22 +01:00
Julien Fontanet
d76cb440f9 Move BackOff to its own module. 2015-03-04 17:42:18 +01:00
Julien Fontanet
7c89d658f7 Fix setScheduler(). 2015-03-04 17:37:12 +01:00
Julien Fontanet
292c929117 Split code in to multiple files. 2015-03-04 17:31:14 +01:00
Julien Fontanet
daf42b63c8 Better back off implementation. 2015-03-04 16:18:57 +01:00
Julien Fontanet
07da03618f Use specific version of json-rpc. 2015-03-04 15:51:35 +01:00
Julien Fontanet
dda51f2801 Xo::call() should never through synchronously. 2015-03-04 15:01:30 +01:00
Julien Fontanet
25472bcfa6 Correctly catch some errors. 2015-03-04 15:01:03 +01:00
Julien Fontanet
6ff17d16f0 0.6.2 2015-02-23 14:48:39 +01:00
Julien Fontanet
06b7116692 Never break object refs for Collection:all & Collection:indexes[*]. 2015-02-23 14:48:32 +01:00
Julien Fontanet
3c3ea0f3e1 Fix Collection::data. 2015-02-23 14:47:11 +01:00
Julien Fontanet
db4d6511d6 0.6.1 2015-02-23 12:25:53 +01:00
Julien Fontanet
6e42a67268 Update README. 2015-02-23 12:25:30 +01:00
Julien Fontanet
fd066e5eef Handle credentials directly in constructor. 2015-02-23 12:25:17 +01:00
Julien Fontanet
3dd0c44410 Handle string parameter in Xo constructor. 2015-02-23 12:24:47 +01:00
Julien Fontanet
12b42854e4 Delete useless example. 2015-02-23 12:23:42 +01:00
Julien Fontanet
2fcb6d0c7c 0.6.0 2015-02-23 12:11:53 +01:00
Julien Fontanet
68e863723a Explicitely handle sign in/out. 2015-02-23 12:10:45 +01:00