mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
💄
This commit is contained in:
@@ -63,7 +63,7 @@ describe "Editor", ->
|
||||
|
||||
describe "when soft-wrap is enabled", ->
|
||||
beforeEach ->
|
||||
otherEditor = new Editor()
|
||||
otherEditor = new Editor
|
||||
otherEditor.setBuffer editor.buffer
|
||||
otherEditor.attachToDom()
|
||||
charWidth = otherEditor.charWidth
|
||||
@@ -2069,7 +2069,7 @@ describe "Editor", ->
|
||||
|
||||
describe "path-change event", ->
|
||||
it "emits event when buffer's path is changed", ->
|
||||
editor = new Editor()
|
||||
editor = new Editor
|
||||
|
||||
eventHandler = jasmine.createSpy('eventHandler')
|
||||
editor.on 'buffer-path-change', eventHandler
|
||||
|
||||
@@ -72,7 +72,7 @@ class RootView extends View
|
||||
if @editors.length
|
||||
_.last(@editors)
|
||||
else
|
||||
editor = new Editor()
|
||||
editor = new Editor
|
||||
@editors.push(editor)
|
||||
editor.appendTo(@panes)
|
||||
editor.focus()
|
||||
|
||||
Reference in New Issue
Block a user