From f0811548049c026c8cf510a8102b19be16a529ed Mon Sep 17 00:00:00 2001 From: Cutls Date: Sun, 28 Jul 2019 23:48:44 +0900 Subject: [PATCH] init --- app/js/platform/preload.js | 1 - app/js/post/post.js | 2 -- app/js/tl/misskeyparse.js | 1 - app/js/ui/post-box.js | 1 - app/js/userdata/showOnTL.js | 1 - app/package.json | 4 ++-- 6 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/js/platform/preload.js b/app/js/platform/preload.js index 1d19401e..71375856 100644 --- a/app/js/platform/preload.js +++ b/app/js/platform/preload.js @@ -160,7 +160,6 @@ ipc.on('memory', function (event, arg) { }) //update.html ipc.on('prog', function (event, arg) { - console.log(arg) postMessage(["updateProg", arg], "*") }) ipc.on('mess', function (event, arg) { diff --git a/app/js/post/post.js b/app/js/post/post.js index 3c21cdd2..6b8f6487 100644 --- a/app/js/post/post.js +++ b/app/js/post/post.js @@ -29,7 +29,6 @@ function post(mode, postvis) { } if (domain != "kirishima.cloud") { if (mode != "pass" && !$("#cw").hasClass("cw-avail") && (str.length > cw_sent || (str.split("\n").length - 1) > cw_ltres)) { - console.log("out") var plus = str.replace(/\n/g, "").slice(0, 10) + "..."; Swal.fire({ title: lang.lang_post_cwtitle, @@ -43,7 +42,6 @@ function post(mode, postvis) { showCloseButton: true, focusConfirm: false, }).then((result) => { - console.log(result) if (result.dismiss == "cancel") { //btn3:sonomama post("pass") diff --git a/app/js/tl/misskeyparse.js b/app/js/tl/misskeyparse.js index dd250953..255cd711 100644 --- a/app/js/tl/misskeyparse.js +++ b/app/js/tl/misskeyparse.js @@ -1001,7 +1001,6 @@ function connectMisskey(acct_id, re) { var mute = []; if (data.body.id.indexOf("notf:") !== -1) { var obj = JSON.parse(mess.data).body; - console.log(obj); var popup = localStorage.getItem("popup"); if (!popup) { popup = 0; diff --git a/app/js/ui/post-box.js b/app/js/ui/post-box.js index 230aab75..54d68871 100644 --- a/app/js/ui/post-box.js +++ b/app/js/ui/post-box.js @@ -70,7 +70,6 @@ if (location.search) { var mode = m[1]; var codex = m[2]; if (mode == "share") { - console.log(codex); $('textarea').focus(); $("#textarea").val(decodeURI(codex)); show(); diff --git a/app/js/userdata/showOnTL.js b/app/js/userdata/showOnTL.js index b83feb2f..a20a3cd7 100644 --- a/app/js/userdata/showOnTL.js +++ b/app/js/userdata/showOnTL.js @@ -357,7 +357,6 @@ function relations(user, acct_id) { console.error(error); }).then(function (json) { var json = json[0]; - console.log(json); if (json.following) { //自分がフォローしている $("#his-data").addClass("following"); diff --git a/app/package.json b/app/package.json index 8a3b1685..03effb41 100644 --- a/app/package.json +++ b/app/package.json @@ -116,8 +116,8 @@ ] }, "electronDownload": { - "version": "5.0.1" + "version": "5.0.4" }, - "electronVersion": "5.0.1" + "electronVersion": "5.0.4" } }