mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
💄
This commit is contained in:
@@ -12,6 +12,9 @@ class Editor
|
||||
@buffer = new Buffer(url)
|
||||
@buildAceEditor()
|
||||
|
||||
destroy: ->
|
||||
@aceEditor.destroy()
|
||||
|
||||
buildAceEditor: ->
|
||||
editorElement = $("<div class='editor'>")
|
||||
$('#main').append(editorElement)
|
||||
@@ -22,6 +25,4 @@ class Editor
|
||||
getAceSession: ->
|
||||
@aceEditor.getSession()
|
||||
|
||||
destroy: ->
|
||||
@aceEditor.destroy()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user