Deprecate getEditor() at a later date…

This commit is contained in:
Ben Ogle
2014-07-30 15:54:40 -07:00
parent 3d2d8c491f
commit d37bd14a62

View File

@@ -122,9 +122,7 @@ class EditorView extends View
# Returns an {Editor}.
getModel: -> @editor
getEditor: ->
deprecate('Use EditorView::getModel instead')
@editor
getEditor: -> @editor
Object.defineProperty @::, 'lineHeight', get: -> @editor.getLineHeightInPixels()
Object.defineProperty @::, 'charWidth', get: -> @editor.getDefaultCharWidth()