148 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
Matthew Riley MacPherson
ff35a613b3 Add docs for custom drivers and tweak PR 2014-10-19 16:19:46 -04: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
bd413fb1f6 Remove unneeded 'text/css' type of stylesheets 2014-10-07 13:20:55 +03:00
Alex Gyoshev
ebaf25bdfd Fix runner to work 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
12e1e12feb Merge pull request #229 from stephanebachelier/master
Add the AMD module id to make almond happy with localforage
2014-09-30 23:03:13 -04:00
Matthew Riley MacPherson
45937ee628 Apply stricter JS rules for quotes 2014-09-30 22:44:35 -04:00
Matthew Riley MacPherson
e99f9711ce Normalize bad config values across platforms
* fix #243
* fix #247
2014-09-30 22:41:05 -04: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
Stéphane Bachelier
9780595a48 Add the AMD module id to make almond happy with localforage
see https://github.com/jrburke/almond\#deps-is-undefined
2014-08-11 11:32:49 +02:00
Matthew Riley MacPherson
738272b324 Revert "Migrate to Browserify / Gulp for Build Process" 2014-08-10 18:26:06 -04:00
Andrew Sliwinski
999c7cd547 Clean-up stay char and EOD on nodriver test 2014-08-07 20:46:51 -07:00
Andrew Sliwinski
cb19134dd8 Resolve lint / style checker issues 2014-08-05 21:37:34 -07:00
Andrew Sliwinski
4f25f9afe9 Remove old html block from callwhen ready test runner 2014-08-05 19:50:05 -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
39c5a25ab1 Add detailed explanations for callWhenReady and its tests 2014-08-05 15:57:37 -04: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
dd35b728ec Improve nested object tests (re: #213) 2014-07-25 01:08:23 -04: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
Thodoris Greasidis
d1e29c34b8 refactor(test.nodriver): refactor instanceof tests to use to.be.an() 2014-07-10 21:12:53 +03:00
Thodoris Greasidis
a40eefbdab remove old unused (coffeescript era) tests 2014-07-09 23:32:39 +03:00
Thodoris Greasidis
d3cb06ed03 test(nodriver): port tests from coffeescript and make them work 2014-07-09 23:29:08 +03:00
Matthew Riley MacPherson
aba4b59ac5 Merge branch 'pr/190'
Conflicts:
	dist/localforage.min.js
	dist/localforage.nopromises.min.js
	site/localforage.min.js
2014-07-07 15:58:53 -04:00
Matthew Riley MacPherson
b9d4e04aa1 Tweak supports() PR 2014-07-07 15:55:31 -04:00
Matthew Riley MacPherson
5619d611d2 Use window.location.host for iframe test 2014-07-01 14:15:07 -04:00
Thodoris Greasidis
af8b460c58 feat(localforage): add "supports" method 2014-07-01 00:40:14 +03:00
Matthew Riley MacPherson
ad5038077e Improve tests 2014-06-30 03:25:03 -04:00
Matthew Riley MacPherson
1c8f183959 Skip web worker tests for now 2014-06-30 03:25:03 -04:00