Commit Graph

91 Commits

Author SHA1 Message Date
Julien Fontanet
ee53433dcc Use const wherever possible. 2015-10-01 18:25:01 +02:00
Julien Fontanet
ad10d13a75 Update standard. 2015-10-01 18:23:17 +02:00
Julien Fontanet
8de2066634 0.4.0 2015-06-26 12:01:51 +02:00
Julien Fontanet
dfc312c092 Various updates. 2015-06-26 11:57:41 +02:00
Julien Fontanet
ce15dbf31b New Collection#unset(). 2015-06-26 11:20:50 +02:00
Julien Fontanet
7c54adec9d 0.3.2 2015-05-24 14:41:22 +02:00
Julien Fontanet
4d2e42d244 One more Angular work around. 2015-05-24 14:39:48 +02:00
Julien Fontanet
811e0123c9 0.3.1 2015-05-22 14:46:46 +02:00
Julien Fontanet
47c4516060 Index & UniqueIndex: Correctly updates even if the hash has not changed. 2015-05-22 14:46:20 +02:00
Julien Fontanet
d55fb36182 0.3.0 2015-05-19 16:39:54 +02:00
Julien Fontanet
41205aef20 Work around xo-web bug due to Angular. 2015-05-19 16:38:02 +02:00
Julien Fontanet
aeadbc1d58 Minor standardization. 2015-05-19 16:35:23 +02:00
Julien Fontanet
bd12ade426 UniqueIndex only expose the values of contained items. 2015-05-19 16:34:48 +02:00
Julien Fontanet
f9c26089cd Document exceptions. 2015-05-19 15:25:44 +02:00
Julien Fontanet
7ddb57078c Finish event. 2015-05-19 15:25:30 +02:00
Julien Fontanet
3e7f1275d8 Remove unnecessary array. 2015-05-19 14:43:16 +02:00
Julien Fontanet
e963938016 Do not attach collection to index if duplicate. 2015-05-19 14:42:11 +02:00
Julien Fontanet
644ebd0a4f 0.2.1 2015-05-14 17:18:12 +02:00
Julien Fontanet
1033bfcfe5 Add missing files. 2015-05-14 17:16:35 +02:00
Julien Fontanet
a688310b95 Remove thisArg param. 2015-05-04 17:34:02 +02:00
Julien Fontanet
e3ffc8784e Use shared module instead of custom isNotEmpty(). 2015-04-30 11:45:14 +02:00
Julien Fontanet
bb35fc3801 Fix README title. 2015-04-30 11:44:53 +02:00
Julien Fontanet
c804630576 0.2.0 2015-04-29 18:17:39 +02:00
Julien Fontanet
e5f3ca1623 Initial UniqueIndex. 2015-04-29 17:51:18 +02:00
Julien Fontanet
0880787d68 new Index() now accepts a computeHash() callback-ish. 2015-04-29 14:33:37 +02:00
Julien Fontanet
cd582e2e3a Rename Index#itemsByHash to Index#items. 2015-04-29 14:12:22 +02:00
Julien Fontanet
aebd9319f5 Comments in Collection#_onUpdate(). 2015-04-29 13:22:36 +02:00
Julien Fontanet
de6cbb0f45 Fix Index#sweep(). 2015-04-29 13:22:36 +02:00
Julien Fontanet
e14dcd0184 Put some utils in their own modules. 2015-04-29 13:22:30 +02:00
Julien Fontanet
17ef653903 0.1.1 2015-04-28 17:10:58 +02:00
Julien Fontanet
f5d5b5efc0 Make View and Index requireable. 2015-04-28 17:10:31 +02:00
Julien Fontanet
59dbee8f28 Minor doc about views. 2015-04-28 17:06:37 +02:00
Julien Fontanet
1bc48fbf96 0.1.0 2015-04-27 15:27:12 +02:00
Julien Fontanet
d45348c167 Minor fixes. 2015-04-27 15:09:07 +02:00
Julien Fontanet
22caa0ee66 Initial Index implementation (see #1). 2015-04-27 15:05:02 +02:00
Julien Fontanet
e6e8ccc855 Remove standard from npm test.
Currently broken du to due to eslint/espree#123
2015-04-27 15:04:52 +02:00
Julien Fontanet
d78522f5e1 Comment doc for Collection#getId(). 2015-04-27 12:14:30 +02:00
Julien Fontanet
3da2a618b9 Coding style. 2015-04-27 10:55:22 +02:00
Julien Fontanet
00f944f3f4 Remove unused import. 2015-04-19 00:42:02 +02:00
Julien Fontanet
1269411771 Add iteration to the README. 2015-04-18 22:33:32 +02:00
Julien Fontanet
d4d8ea6cf2 Collection #getId() renamed to getKey(). 2015-04-18 22:20:57 +02:00
Julien Fontanet
160522c520 Collection iteration more similar to Map. 2015-04-18 22:04:37 +02:00
Julien Fontanet
7024b5ec1b Reorganization of Collection code. 2015-04-18 21:58:17 +02:00
Julien Fontanet
5b020035d6 Collection is iterable. 2015-04-18 21:34:36 +02:00
Julien Fontanet
fcea7fd4bf mkdir -p is more portable. 2015-04-18 19:37:04 +02:00
Julien Fontanet
7941a24d51 Force npm test to be successful before committing. 2015-04-15 15:16:28 +02:00
Julien Fontanet
e004ba63f8 Remove unused JSHint conf. 2015-04-15 10:46:09 +02:00
Julien Fontanet
1f30a19566 Improved view example. 2015-04-14 12:18:29 +02:00
Julien Fontanet
51f4578a41 View handles existing items. 2015-04-14 12:18:24 +02:00
Julien Fontanet
bd3954a5f1 Rename index.* to collection.*. 2015-04-14 10:47:47 +02:00