38 Commits

Author SHA1 Message Date
Matthew Riley MacPherson
2bcdc51360 Tidy up code nits 2014-10-28 17:05:56 -04:00
Denis Yaremov
b0c8a5b96d Iterate functionality fixes related to callback misuse 2014-10-23 00:09:20 +03:00
Denis Yaremov
d5c49ee885 Iterate functionality, no tests yet 2014-10-21 03:10:17 +03:00
Thodoris Greasidis
0755859a1c feat(localforage): add support for custom drivers 2014-10-19 21:39:56 +03:00
Thodoris Greasidis
c47a6d8cae feat(localforage): combine setDriver and config 2014-10-16 00:41:43 +03:00
Alex Gyoshev
9471c969c8 Fix detection of localStorage in IE8 2014-10-07 13:20:55 +03:00
Alex Gyoshev
7a5e4a25e5 Remove only localStorage keys matching prefix.
Closes #246.
2014-10-04 21:42:35 +03:00
Matthew Riley MacPherson
8b84ee5021 Use err not error for consistency's sake 2014-09-30 22:15:07 -04:00
Matthew Riley MacPherson
4c1b8943cd Use error-first callbacks (close #219) 2014-09-30 22:15:07 -04:00
Matthew Riley MacPherson
f5cf7ff133 Merge pull request #257 from mozilla/250-setkey-undefined
Cast non-string keys to strings (fix #250)
2014-09-30 22:12:04 -04:00
Thodoris Greasidis
61bf123429 fix(test.api): fix PhantomJS - SECURITY_ERR on multiple instances tests 2014-09-29 20:41:57 +03:00
Matthew Riley MacPherson
51828a284b Cast non-string keys to strings (fix #250) 2014-09-28 23:33:24 -04:00
Thodoris Greasidis
292c4e59b9 test(localforage): add tests fot multiple storage instances support 2014-09-26 02:03:21 +03:00
Matthew Riley MacPherson
bc9d6b15ae Merge pull request #248 from thgreasi/rejectTestsRefactor
test(api): refactor driver api reject tests to reduce duplication
2014-09-22 23:06:18 -04:00
Thodoris Greasidis
4a86421588 fix(api): properly resolve the promise if a callback throws an Error 2014-09-15 20:49:43 +03:00
Thodoris Greasidis
ad68d400f5 test(api): refactor driver api reject tests to reduce duplication 2014-09-15 19:44:41 +03:00
Matthew Riley MacPherson
738272b324 Revert "Migrate to Browserify / Gulp for Build Process" 2014-08-10 18:26:06 -04:00
Andrew Sliwinski
cb19134dd8 Resolve lint / style checker issues 2014-08-05 21:37:34 -07:00
Andrew Sliwinski
df4d2bf487 Resolve merge conficts from upstream 2014-08-05 18:32:40 -07:00
Andrew Sliwinski
87f3cbd68d Migrate to browserify / gulp for build process. Resolves GH-198 Resolves GH-174 2014-08-05 17:26:35 -07:00
Beng Hee Eu
85e980aefb Apply "root" level beforeEach hook to run test suite against callWhenReady API method stubs 2014-08-05 15:36:59 -04:00
Matthew Riley MacPherson
db65a26f0c Merge pull request #225 from thgreasi/setdriver-object
feat(localforage): ensure setDriver is called with a string or an array
2014-08-04 08:18:25 -04:00
Thodoris Greasidis
1742e42349 feat(localforage): ensure setDriver is called with a string or an array 2014-08-04 10:06:00 +03:00
Thodoris Greasidis
07a04fe7ff tests(api): correct appropriate driver selection test 2014-08-04 09:38:02 +03:00
Matthew Riley MacPherson
bdc3f10576 Add info and dist files for #216 2014-07-25 00:48:43 -04:00
Thodoris Greasidis
4b434cccc2 feat(localforage): add support for driver array parameter to setDriver 2014-07-25 01:17:44 +03:00
Thodoris Greasidis
40e3a03669 refactor(tests): use a()/an() for typeof expectations 2014-07-22 23:54:07 +03:00
Matthew Riley MacPherson
320d5264d4 Merge pull request #209 from pgherveou/patch-1
bump component Promise dependency
2014-07-20 19:20:45 -04:00
PG Herveou
c783389244 Update test.api.js 2014-07-19 00:53:36 +02:00
Thodoris Greasidis
c446d267e8 test(drivers): driver methods reject Promise when ready() rejects 2014-07-17 22:51:55 +03:00
Matthew Riley MacPherson
b9d4e04aa1 Tweak supports() PR 2014-07-07 15:55:31 -04:00
Thodoris Greasidis
af8b460c58 feat(localforage): add "supports" method 2014-07-01 00:40:14 +03:00
Matthew Riley MacPherson
8fc11763f7 Add more datatypes 2014-06-30 03:25:01 -04:00
Matthew Riley MacPherson
996a2b83ff Add component tests 2014-06-30 03:25:01 -04:00
Matthew Riley MacPherson
2e070f2e5e Add config tests; fix others 2014-06-30 03:23:04 -04:00
Matthew Riley MacPherson
b327a66c56 Check for ready function 2014-06-30 03:14:53 -04:00
Matthew Riley MacPherson
d766bb8b1b Check for setDriver function 2014-06-30 03:14:53 -04:00
Matthew Riley MacPherson
ccd8dc7f35 Add browser-based, mocha API tests (#148) 2014-06-30 03:09:48 -04:00