mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
📝 Add docs for Gutter::destroy
This commit is contained in:
@@ -17,6 +17,11 @@ class Gutter
|
||||
|
||||
@emitter = new Emitter
|
||||
|
||||
###
|
||||
Section: Gutter Destruction
|
||||
###
|
||||
|
||||
# Public: Destroys the gutter.
|
||||
destroy: ->
|
||||
if @name is 'line-number'
|
||||
throw new Error('The line-number gutter cannot be destroyed.')
|
||||
|
||||
Reference in New Issue
Block a user