mirror of
https://github.com/atom/atom.git
synced 2026-02-09 06:05:11 -05:00
Rename subscription.destroy to subscription.cancel
This commit is contained in:
@@ -65,7 +65,7 @@ class Config
|
||||
unless newValue == value
|
||||
value = newValue
|
||||
callback(value)
|
||||
subscription = { destroy: => @off 'update', updateCallback }
|
||||
subscription = { cancel: => @off 'update', updateCallback }
|
||||
@on 'update', updateCallback
|
||||
callback(value)
|
||||
subscription
|
||||
|
||||
Reference in New Issue
Block a user