Rename ReactEditorView -> EditorView

This commit is contained in:
Ben Ogle
2014-07-30 15:31:20 -07:00
parent fc441ef5e2
commit 97bcdcc9b0
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
_ = require 'underscore-plus'
{extend, flatten, toArray, last} = _
ReactEditorView = require '../src/react-editor-view'
EditorView = require '../src/react-editor-view'
EditorComponent = require '../src/editor-component'
nbsp = String.fromCharCode(160)
@@ -34,7 +34,7 @@ describe "EditorComponent", ->
contentNode = document.querySelector('#jasmine-content')
contentNode.style.width = '1000px'
wrapperView = new ReactEditorView(editor, {lineOverdrawMargin})
wrapperView = new EditorView(editor, {lineOverdrawMargin})
wrapperView.attachToDom()
wrapperNode = wrapperView.element
@@ -1911,7 +1911,7 @@ describe "EditorComponent", ->
hiddenParent.style.display = 'none'
contentNode.appendChild(hiddenParent)
wrapperView = new ReactEditorView(editor, {lineOverdrawMargin})
wrapperView = new EditorView(editor, {lineOverdrawMargin})
wrapperNode = wrapperView.element
wrapperView.appendTo(hiddenParent)

View File

@@ -6,7 +6,7 @@ Editor = require './editor'
EditorComponent = require './editor-component'
module.exports =
class ReactEditorView extends View
class EditorView extends View
@configDefaults:
fontFamily: ''
fontSize: 16