From 5b52bb287710782527390cbd15146e03c6917bda Mon Sep 17 00:00:00 2001 From: BlackGlory Date: Wed, 3 Jun 2020 23:09:49 +0800 Subject: [PATCH] =?UTF-8?q?v0.13.10=20=E6=BC=8F=E7=BD=91=E4=B9=8B=E9=B1=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 进一步清理与长时间未运行Gloria有关的代码. --- package.json | 2 +- src/background.ls | 5 ----- src/manifest.json | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index ee80ee7..335b710 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gloria", - "version": "0.13.9", + "version": "0.13.10", "description": "A programmable website notifications aggregator in Chrome.", "repository": { "type": "git", diff --git a/src/background.ls b/src/background.ls index a836827..71f956f 100644 --- a/src/background.ls +++ b/src/background.ls @@ -131,11 +131,6 @@ function check-stage redux-store lazy-actions = [creator.set-config 'LastActiveDate', new Date!toString!] - each ((task) -> - if not task.is-enable and new Date! - new Date(task.trigger-date) > 24h * 60m * 60s * 1000ms - lazy-actions.push creator.clear-stage task.id - ), tasks - each (({ id, stage }) -> task = tasks.find (.id is id) diff --git a/src/manifest.json b/src/manifest.json index 1ef34ba..bb81375 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,6 +1,6 @@ { "name": "Gloria" -, "version": "0.13.9" +, "version": "0.13.10" , "manifest_version": 2 , "description": "__MSG_AppDesc__" , "default_locale": "en"