We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255533a commit f07eee1Copy full SHA for f07eee1
src/api.js
@@ -21,7 +21,7 @@
21
* @module SqlJs
22
*/
23
// Wait for preRun to run, and then finish our initialization
24
-Module["onRuntimeInitialized"] = (function onRuntimeInitialized() {
+Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
25
"use strict";
26
27
// Declare toplevel variables
@@ -958,6 +958,4 @@ Module["onRuntimeInitialized"] = (function onRuntimeInitialized() {
958
959
// export Database to Module
960
Module.Database = Database;
961
- // export SQL to global-namespace
962
- this["SQL"] = { Database: Database, };
963
-}).bind(this);
+};
0 commit comments