Commit Graph

80 Commits

Author SHA1 Message Date
KtorZ
54bcd27d7b
make use of the purescript-read lib instead of FromString class 2017-07-27 23:37:25 +02:00
KtorZ
86207adf61
fix bower.json references 2017-07-07 13:29:40 +02:00
KtorZ
937736fd80
review deploy script 2017-07-07 13:23:47 +02:00
KtorZ
77be1c1de3
update README badge href for travis 2017-07-07 13:13:57 +02:00
KtorZ
adf34227f1
update README with remarks and extra details 2017-07-07 13:10:48 +02:00
KtorZ
808de4f3c3
change reference from Key to Foreign for FFI functions 2017-07-07 12:57:31 +02:00
KtorZ
3705bbc48a
add some test cases for IDBCursor 2017-07-07 12:00:05 +02:00
KtorZ
9197f3697d
change class method indentations 2017-07-07 11:43:46 +02:00
KtorZ
5f9f3413c5
add sugar 'none' for (Nothing :: Maybe Key) 2017-07-07 11:39:02 +02:00
KtorZ
3c3b1b2f9b
attack callbacks directly when opening and IDBCursor 2017-07-07 11:38:27 +02:00
KtorZ
c589d8cfbb
make Key polymorphic in IDBCursor 2017-07-07 11:37:21 +02:00
KtorZ
0f4af3ae25
update README browser compatibility matrix 2017-07-06 15:39:52 +02:00
KtorZ
564ff75c8e
remove Test.Spec.Mocha from src and add it as an external dependency 2017-07-06 15:38:18 +02:00
KtorZ
9ab34a7d7b
move --single-run option in the karma.conf.js 2017-07-06 15:17:49 +02:00
KtorZ
cd93ad676e
add documentation to IDBTransaction + complete db and objectStoreNames accessor 2017-07-06 15:17:36 +02:00
KtorZ
6f7562fe4f
add documentation to IDBObjectStore 2017-07-06 15:08:34 +02:00
KtorZ
02acc707ee
add documentation to IDBKeyRange 2017-07-06 14:59:13 +02:00
KtorZ
3461bebbce
add documentation for IDBKeys 2017-07-06 14:38:30 +02:00
KtorZ
d19b84c291
add documentation for IDBIndex 2017-07-06 14:30:50 +02:00
KtorZ
2ab8adb219
add documentation to IDBFactory 2017-07-06 14:12:45 +02:00
KtorZ
5ec6af3d40
add documentation to IDBDatabase 2017-07-06 14:06:01 +02:00
KtorZ
e3e8c10e95
add documentation to IDBCursor module + wrap key & primaryKey return types in Aff (can throw) 2017-07-06 13:55:19 +02:00
KtorZ
d1ae85cce3
add documentation to the Core module 2017-07-06 13:54:51 +02:00
KtorZ
d86c6e0497
prepare CI environment 2017-07-06 12:26:28 +02:00
KtorZ
1a1e3e3810
rework README 2017-06-30 23:47:30 +02:00
KtorZ
cba6b08b7a
finalize implementation of cursor.source 2017-06-30 22:51:07 +02:00
KtorZ
c958e2d134
add few test cases for IDBIndex 2017-06-30 22:50:57 +02:00
KtorZ
751b940437
fix boolean inversion in Spec.Mocha for describe.only 2017-06-30 22:43:22 +02:00
KtorZ
9c145f91c5
wrap all native calls with Aff in try catch (they can throw out of the onerror callback :|) 2017-06-30 22:43:02 +02:00
KtorZ
a2bf21df62
replace all Eff with Aff for consistency and ease of use 2017-06-30 21:15:20 +02:00
KtorZ
8dcfdda43b
remove Main file 2017-06-30 18:41:21 +02:00
KtorZ
9877c1ca1b
review test cases and add some for IDBIndex 2017-06-30 18:39:57 +02:00
KtorZ
a5170f3893
Use IDBKey type-class to make add & put more friendly 2017-06-30 18:39:36 +02:00
KtorZ
376d435658
add missing alternative case for Array in Eq, Ord and Show instances of IDBKey 2017-06-30 18:39:10 +02:00
KtorZ
ae0952a5df
add transaction to onUpgradeNeeded callback 2017-06-30 17:19:31 +02:00
KtorZ
652e6518f6
add event handlers to Database and Transaction 2017-06-30 17:19:12 +02:00
KtorZ
bd0306927e
remove EXCEPTION effects from Aff effects and rename eff -> e 2017-06-30 14:12:15 +02:00
KtorZ
fdbbd1703e
add some sugar (defaultParameters) and use type synonym to improve readability 2017-06-30 13:49:59 +02:00
KtorZ
f583308d73
complete test suite for IDBObjectStore 2017-06-30 11:31:10 +02:00
KtorZ
fc4915bddf
add missing export for class method 2017-06-30 11:30:50 +02:00
KtorZ
0bcf2b0323
make CursorDirection non-optional when openin cursor 2017-06-30 11:30:27 +02:00
KtorZ
302a9f31af
add IDBKey instance to Key 2017-06-30 11:30:06 +02:00
KtorZ
ea5183dcc7
complete test cases for IDBKeyRange interface 2017-06-29 18:03:00 +02:00
KtorZ
aeca81c760
add Show instances for other foreign types 2017-06-29 18:02:44 +02:00
KtorZ
889b7767a9
change constructors for IDBKeyRange -> return Maybe when used with Bounce 2017-06-29 17:51:11 +02:00
KtorZ
629979d88f
add Show and Ord instances to IDBKeys 2017-06-29 17:50:13 +02:00
KtorZ
d84ad46e12
rework a bit watching script 2017-06-29 17:06:46 +02:00
KtorZ
ca3346e4ef
fix IDBKeyRange implementation accordingly 2017-06-29 17:06:28 +02:00
KtorZ
41f0d5df7d
add test cases for IDBKeyRange 2017-06-29 17:06:16 +02:00
KtorZ
3004733e9e
add IDBKey instance for numbers 2017-06-29 17:05:53 +02:00