alert in private cookieless mode

This commit is contained in:
Stewart Allen 2020-06-13 11:56:29 -04:00
commit 680d6ed1b2
2 changed files with 14 additions and 4 deletions

View file

@ -20,8 +20,13 @@
SETUP = parseOpt(LOC.search.substring(1)),
SECURE = isSecure(LOC.protocol),
LOCAL = self.debug && !SETUP.remote,
SDB = MOTO.KV,
ODB = KIRI.odb = new MOTO.Storage(SETUP.d ? SETUP.d[0] : 'kiri'),
SDB = MOTO.KV;
if (SDB.isLocal()) {
alert(SDB.getItem("__local__"));
}
let ODB = KIRI.odb = new MOTO.Storage(SETUP.d ? SETUP.d[0] : 'kiri'),
SPACE = KIRI.space = MOTO.Space,
WIDGETS = KIRI.widgets = [],
CATALOG = KIRI.catalog = KIRI.openCatalog(ODB,autoDecimate),