From c2c6ab7ff1b62dc1182d32af486eeb525f46fb3b Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 22 Oct 2014 16:29:49 +0800 Subject: [PATCH] . --- main.go | 7 ------- static/js/wide.js | 9 --------- 2 files changed, 16 deletions(-) diff --git a/main.go b/main.go index 1630105..c0e9ade 100644 --- a/main.go +++ b/main.go @@ -48,13 +48,6 @@ func init() { // 定时检查无效会话 session.FixedTimeRelease() - - // 定时输出日志(TODO: 后面考虑换一个日志库) - go func() { - for _ = range time.Tick(time.Second) { - glog.Flush() - } - }() } // 登录. diff --git a/static/js/wide.js b/static/js/wide.js index f735aa2..95826a0 100644 --- a/static/js/wide.js +++ b/static/js/wide.js @@ -501,15 +501,6 @@ var wide = { return false; } - if ($(".menu li.run").hasClass("disabled")) { - return false; - } - - if ($(".toolbars .ico-stop").length === 1) { - wide.stop(); - return false; - } - var request = newWideRequest(); request.file = currentPath; request.code = wide.curEditor.getValue();