mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Remove space-pen require from text-editor-element
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{Emitter} = require 'event-kit'
|
||||
{View, $, callRemoveHooks} = require 'space-pen'
|
||||
Path = require 'path'
|
||||
{defaults} = require 'underscore-plus'
|
||||
TextBuffer = require 'text-buffer'
|
||||
@@ -119,7 +118,6 @@ class TextEditorElement extends HTMLElement
|
||||
inputNode.addEventListener 'blur', => @dispatchEvent(new FocusEvent('blur', bubbles: false))
|
||||
|
||||
unmountComponent: ->
|
||||
callRemoveHooks(this)
|
||||
if @component?
|
||||
@component.destroy()
|
||||
@component.getDomNode().remove()
|
||||
|
||||
Reference in New Issue
Block a user