Rename subscription.destroy to subscription.cancel

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-12-14 16:38:04 -08:00
parent 54c0c277ed
commit e6362af711
3 changed files with 5 additions and 4 deletions

View File

@@ -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