clear.js 309 B

12345678910
  1. import { executeCallback } from 'localforage-driver-commons';
  2. export function clear(callback) {
  3. var _this = this;
  4. var promise = this.ready().then(function () {
  5. _this._dbInfo.mStore.clear();
  6. });
  7. executeCallback(promise, callback);
  8. return promise;
  9. }
  10. //# sourceMappingURL=clear.js.map