Fix lint issues in websql.js provider
This commit is contained in:
parent
bcf4d9834a
commit
b92151cdc5
|
@ -26,7 +26,7 @@ WebSQLContext.prototype.clear = function(callback) {
|
||||||
function onError(transaction, error) {
|
function onError(transaction, error) {
|
||||||
callback(error);
|
callback(error);
|
||||||
}
|
}
|
||||||
function onSuccess(transaction, result) {
|
function onSuccess() {
|
||||||
callback(null);
|
callback(null);
|
||||||
}
|
}
|
||||||
this.getTransaction(function(transaction) {
|
this.getTransaction(function(transaction) {
|
||||||
|
@ -83,7 +83,7 @@ WebSQLContext.prototype.getBuffer = function(key, callback) {
|
||||||
};
|
};
|
||||||
|
|
||||||
function _put(getTransaction, key, value, callback) {
|
function _put(getTransaction, key, value, callback) {
|
||||||
function onSuccess(transaction, result) {
|
function onSuccess() {
|
||||||
callback(null);
|
callback(null);
|
||||||
}
|
}
|
||||||
function onError(transaction, error) {
|
function onError(transaction, error) {
|
||||||
|
@ -104,7 +104,7 @@ WebSQLContext.prototype.putBuffer = function(key, uint8BackedBuffer, callback) {
|
||||||
};
|
};
|
||||||
|
|
||||||
WebSQLContext.prototype.delete = function(key, callback) {
|
WebSQLContext.prototype.delete = function(key, callback) {
|
||||||
function onSuccess(transaction, result) {
|
function onSuccess() {
|
||||||
callback(null);
|
callback(null);
|
||||||
}
|
}
|
||||||
function onError(transaction, error) {
|
function onError(transaction, error) {
|
||||||
|
@ -145,7 +145,7 @@ WebSQL.prototype.open = function(callback) {
|
||||||
}
|
}
|
||||||
callback(error);
|
callback(error);
|
||||||
}
|
}
|
||||||
function onSuccess(transaction, result) {
|
function onSuccess() {
|
||||||
that.db = db;
|
that.db = db;
|
||||||
callback();
|
callback();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue