Skip to content

Commit 9d464a6

Browse files
committed
address PR feedback
1 parent 3d64624 commit 9d464a6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

www/SQLitePlugin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,14 @@
127127
};
128128

129129
SQLitePlugin.prototype.startNextTransaction = function() {
130-
var self = this;
130+
var _this = this;
131131
nextTick(function() {
132132
var txLock;
133-
if (!(self.dbname in self.openDBs) || self.openDBs[self.dbname].state !== DB_STATE_OPEN) {
133+
if (!(_this.dbname in _this.openDBs) || _this.openDBs[_this.dbname].state !== DB_STATE_OPEN) {
134134
console.log('cannot start next transaction: database not open');
135135
return;
136136
}
137-
txLock = txLocks[self.dbname];
137+
txLock = txLocks[_this.dbname];
138138
if (!txLock) {
139139
console.log('cannot start next transaction: database connection is lost');
140140
return;

0 commit comments

Comments
 (0)