This commit is contained in:
parent
c08a939849
commit
c2c6ab7ff1
7
main.go
7
main.go
|
@ -48,13 +48,6 @@ func init() {
|
|||
|
||||
// 定时检查无效会话
|
||||
session.FixedTimeRelease()
|
||||
|
||||
// 定时输出日志(TODO: 后面考虑换一个日志库)
|
||||
go func() {
|
||||
for _ = range time.Tick(time.Second) {
|
||||
glog.Flush()
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
// 登录.
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue