Merge pull request #6206 from mertkahyaoglu/master

remove duplicate switch case in cursor.coffee
This commit is contained in:
Kevin Sawicki
2015-04-01 10:36:57 -07:00

View File

@@ -94,8 +94,6 @@ class Cursor extends Model
Grim.deprecate("Use Cursor::onDidChangePosition instead")
when 'destroyed'
Grim.deprecate("Use Cursor::onDidDestroy instead")
when 'destroyed'
Grim.deprecate("Use Cursor::onDidDestroy instead")
else
Grim.deprecate("::on is no longer supported. Use the event subscription methods instead")
super