Skip to content

Del store - #14

Open
brettz9 wants to merge 3 commits into
treojs:masterfrom
brettz9:delStore
Open

Del store#14
brettz9 wants to merge 3 commits into
treojs:masterfrom
brettz9:delStore

Conversation

@brettz9

@brettz9 brettz9 commented Apr 14, 2016

Copy link
Copy Markdown
Contributor

Allow delStore to pass in name not present within schema (in case added previously); will still throw later

brettz9 added 3 commits May 1, 2016 19:12
…allow a sequence of upgrades which can support promises returned by `addCallback` callbacks (and add docs and tests for multiple promise-based callbacks on different versions);

Commenting: Indicate specific Safari bug within code;
Refactoring: Use ES6 `Array.from`; add `Number.isInteger` and ES7 `Object.values()` in place of npm modules (requires babel-polyfill);
Testing: Split off local testing from Sauce; prevent blocking; increase timeout for Firefox; add test to throw with previous version
…ted `addCallback` ones, can themselves use idb-schema methods (e.g., to convert from JSON to idb-schema) though, since they execute within `upgradeneeded` cannot support Promises (as can the callbacks within `addCallback` when `schema.open` or `schema.upgrade` are used); document
… added previously)

- If `delStore` does throw later (or if there is any other upgrade error), the error can be caught by `callback` or `open`/`upgrade`
- Feature: Support `errBack` to `callback`
- Expand callback, delStore docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant