mirror of
https://github.com/atom/atom.git
synced 2026-01-27 07:47:58 -05:00
cancel command
This commit is contained in:
@@ -25,6 +25,8 @@ class EditorStatsView extends ScrollView
|
||||
initialize: (@rootView, @eventLog = {}) ->
|
||||
super
|
||||
|
||||
@command 'core:cancel', @detach
|
||||
|
||||
date = new Date()
|
||||
future = new Date(date.getTime() + 36e5)
|
||||
@eventlog[time(date)] = 0
|
||||
|
||||
Reference in New Issue
Block a user