mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Deprecate all Project::on calls
This commit is contained in:
@@ -121,6 +121,8 @@ class Project extends Model
|
||||
on: (eventName) ->
|
||||
if eventName is 'path-changed'
|
||||
Grim.deprecate("Use Project::onDidChangePaths instead")
|
||||
else
|
||||
Grim.deprecate("Project::on is deprecated. Use documented event subscription methods instead.")
|
||||
super
|
||||
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user