fix linting

This commit is contained in:
Kevin Jahns 2017-09-11 17:37:39 +02:00
parent 526c862071
commit 1afdab376d

View File

@ -452,7 +452,7 @@ export default function extendDatabase (Y /* :any */) {
* Always: * Always:
* * Call type * * Call type
*/ */
operationAdded (transaction, op) { operationAdded (transaction, op) {
if (op.struct === 'Delete') { if (op.struct === 'Delete') {
var type = this.initializedTypes[JSON.stringify(op.targetParent)] var type = this.initializedTypes[JSON.stringify(op.targetParent)]
if (type != null) { if (type != null) {
@ -511,6 +511,7 @@ export default function extendDatabase (Y /* :any */) {
} }
} }
} }
whenTransactionsFinished () { whenTransactionsFinished () {
if (this.transactionInProgress) { if (this.transactionInProgress) {
if (this.transactionsFinished == null) { if (this.transactionsFinished == null) {