Skip to content

Commit

Permalink
fix: regressions from TS refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Dec 7, 2023
1 parent a00839d commit 4196fd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/IDBObjectStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ IDBObjectStore.prototype.__insertData = function (tx, encoded, value, clonedKeyO
error(createDOMException(
'ConstraintError', /** @type {string} */ (err.message), err
));
return true;
return false;
});
return undefined;
}).catch(function (err) {
Expand Down Expand Up @@ -708,7 +708,7 @@ IDBObjectStore.prototype.__overwrite = function (tx, key, cb, error) {
cb(tx);
}, function (tx, err) {
error(err);
return true;
return false;
});
};

Expand Down Expand Up @@ -832,7 +832,7 @@ IDBObjectStore.prototype.__get = function (query, getKey, getAll, count) {
success(ret);
}, function (tx, err) {
error(err);
return true;
return false;
});
}, undefined, me);
};
Expand Down Expand Up @@ -926,7 +926,7 @@ IDBObjectStore.prototype.delete = function (query) {
success();
}, function (tx, err) {
error(err);
return true;
return false;
});
}, undefined, me);
};
Expand Down Expand Up @@ -957,7 +957,7 @@ IDBObjectStore.prototype.clear = function () {
success();
}, function (tx, err) {
error(err);
return true;
return false;
});
}, undefined, me);
};
Expand Down

0 comments on commit 4196fd9

Please sign in to comment.