Remove editSession options support

This commit is contained in:
Kevin Sawicki 2013-11-26 12:35:04 -08:00
parent f1e768767e
commit d8c4fa902d

View File

@ -86,8 +86,7 @@ class EditorView extends View
if editorOrOptions instanceof Editor
editor = editorOrOptions
else
{editor, editSession, @mini, placeholderText} = editorOrOptions ? {}
editor ?= editSession # TODO: Remove this line after packages have updated their api to use Editor and EditorView
{editor, @mini, placeholderText} = editorOrOptions ? {}
@id = EditorView.nextEditorId++
@lineCache = []