forked from matrix/element-web
v0.1.1
This commit is contained in:
parent
b4c7d54fc0
commit
d83c475bb7
|
@ -16,7 +16,7 @@
|
||||||
// Dendrite Service Worker version
|
// Dendrite Service Worker version
|
||||||
// Bumping the patch version of this has no side-effects.
|
// Bumping the patch version of this has no side-effects.
|
||||||
// Bumping the minor version of this will delete databases.
|
// Bumping the minor version of this will delete databases.
|
||||||
const version = "0.1.0"
|
const version = "0.1.1";
|
||||||
|
|
||||||
const bundle_path = self.location.href.replace("/dendrite_sw.js", "")
|
const bundle_path = self.location.href.replace("/dendrite_sw.js", "")
|
||||||
const id = Math.random();
|
const id = Math.random();
|
||||||
|
@ -56,7 +56,6 @@ function sleep(ms) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function syncfs(isStartup) {
|
function syncfs(isStartup) {
|
||||||
console.log("syncfs isStartup=",isStartup);
|
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
global._go_sqlite.FS.syncfs(isStartup, function(err) {
|
global._go_sqlite.FS.syncfs(isStartup, function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Reference in New Issue