Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add early callback #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on May 2, 2016

  1. Feature: Add open and upgrade methods (and flushIncomplete) to …

    …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
    brettz9 committed May 2, 2016
    Configuration menu
    Copy the full SHA
    f11daa3 View commit details
    Browse the repository at this point in the history
  2. Add addEarlyCallback method whose callbacks, unlike the later-execu…

    …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
    brettz9 committed May 2, 2016
    Configuration menu
    Copy the full SHA
    00abe5a View commit details
    Browse the repository at this point in the history