mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Always run react in dev mode for now
This commit is contained in:
@@ -214,10 +214,10 @@ class Editor extends Model
|
||||
@subscribe @displayBuffer, 'soft-wrap-changed', (args...) => @emit 'soft-wrap-changed', args...
|
||||
|
||||
getViewClass: ->
|
||||
if atom.config.get('core.useReactEditor')
|
||||
require './react-editor-view'
|
||||
else
|
||||
require './editor-view'
|
||||
# if atom.config.get('core.useReactEditor')
|
||||
require './react-editor-view'
|
||||
# else
|
||||
# require './editor-view'
|
||||
|
||||
destroyed: ->
|
||||
@unsubscribe()
|
||||
|
||||
Reference in New Issue
Block a user