Skip to content

Commit a84969d

Browse files
committed
eslint
1 parent 4d4e923 commit a84969d

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

src/api.js

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,33 +1536,40 @@ Module.onRuntimeInitialized = function onRuntimeInitialized() {
15361536
*/
15371537

15381538
// Preserve public API names across minification.
1539+
/* eslint-disable no-self-assign */
15391540
Statement.prototype["bind"] = Statement.prototype.bind;
15401541
Statement.prototype["step"] = Statement.prototype.step;
15411542
Statement.prototype["get"] = Statement.prototype.get;
1542-
Statement.prototype["getColumnNames"] = Statement.prototype.getColumnNames;
1543+
Statement.prototype["getColumnNames"]
1544+
= Statement.prototype.getColumnNames;
15431545
Statement.prototype["getAsObject"] = Statement.prototype.getAsObject;
15441546
Statement.prototype["getSQL"] = Statement.prototype.getSQL;
1545-
Statement.prototype["getNormalizedSQL"] = Statement.prototype.getNormalizedSQL;
1547+
Statement.prototype["getNormalizedSQL"]
1548+
= Statement.prototype.getNormalizedSQL;
15461549
Statement.prototype["run"] = Statement.prototype.run;
15471550
Statement.prototype["reset"] = Statement.prototype.reset;
15481551
Statement.prototype["freemem"] = Statement.prototype.freemem;
15491552
Statement.prototype["free"] = Statement.prototype.free;
15501553

15511554
StatementIterator.prototype["next"] = StatementIterator.prototype.next;
1552-
StatementIterator.prototype["getRemainingSQL"] = StatementIterator.prototype.getRemainingSQL;
1555+
StatementIterator.prototype["getRemainingSQL"]
1556+
= StatementIterator.prototype.getRemainingSQL;
15531557

15541558
Database.prototype["run"] = Database.prototype.run;
15551559
Database.prototype["exec"] = Database.prototype.exec;
15561560
Database.prototype["each"] = Database.prototype.each;
15571561
Database.prototype["prepare"] = Database.prototype.prepare;
1558-
Database.prototype["iterateStatements"] = Database.prototype.iterateStatements;
1562+
Database.prototype["iterateStatements"]
1563+
= Database.prototype.iterateStatements;
15591564
Database.prototype["export"] = Database.prototype.export;
15601565
Database.prototype["close"] = Database.prototype.close;
15611566
Database.prototype["handleError"] = Database.prototype.handleError;
15621567
Database.prototype["getRowsModified"] = Database.prototype.getRowsModified;
15631568
Database.prototype["create_function"] = Database.prototype.create_function;
1564-
Database.prototype["create_aggregate"] = Database.prototype.create_aggregate;
1569+
Database.prototype["create_aggregate"]
1570+
= Database.prototype.create_aggregate;
15651571
Database.prototype["updateHook"] = Database.prototype.updateHook;
1572+
/* eslint-enable no-self-assign */
15661573

15671574
// export Database to Module
15681575
Module.Database = Database;

0 commit comments

Comments
 (0)