This commit is contained in:
Natsumi
2021-03-15 23:10:31 +13:00
parent 5cd0740b4a
commit d1ba767eff

View File

@@ -295,7 +295,9 @@ speechSynthesis.getVoices();
API.eventHandlers = new Map();
API.$emit = function (name, ...args) {
// console.log(name, ...args);
if ($app.debug) {
console.log(name, ...args);
}
var handlers = this.eventHandlers.get(name);
if (typeof handlers === 'undefined') {
return;
@@ -375,6 +377,9 @@ speechSynthesis.getVoices();
}).then((response) => {
try {
response.data = JSON.parse(response.data);
if ($app.debug) {
console.log(init, response);
}
return response;
} catch (e) {
}
@@ -3601,6 +3606,8 @@ speechSynthesis.getVoices();
setTimeout(() => this.updateLoop(), 500);
};
$app.debug = false;
$app.data.sharedFeed = {
gameLog: {
wrist: [],