Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

Commit 69afb17

Browse files
committed
Fix this check to work
1 parent c1278c1 commit 69afb17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sqlite.android.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ function setResultValueTypeEngine(resultType, valueType) {
227227
* @constructor
228228
*/
229229
function Database(dbname, options, callback) {
230-
if (!this instanceof Database) { // jshint ignore:line
230+
if (!(this instanceof Database)) { // jshint ignore:line
231231
//noinspection JSValidateTypes
232232
return new Database(dbname, options, callback);
233233
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy