bufferElement.attach is not a function
- Linguagem predominante
- CoffeeScript
- Estrelas
- 518
- Forks
- 70
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
I get the following error after updating to Atom. It prevents focusing the pending pae items.
```
Uncaught (in promise) TypeError: bufferElement.attach is not a function
at file:///C:/Users/hodossy/.atom/packages/pigments/lib/color-project.coffee:261:23
at onDidAddTextEditor (C:\Users\hodossy\AppData\Local\atom\app-1.44.0\resources\app\static\:11:428374)
at Function.simpleDispatch (C:\Users\hodossy\AppData\Local\atom\app-1.44.0\resources\app\static\:11:1212986)
at Emitter.emit (C:\Users\hodossy\AppData\Local\atom\app-1.44.0\resources\app\static\:11:1214427)
at onDidAddPaneItem (C:\Users\hodossy\AppData\Local\atom\app-1.44.0\resources\app\static\:11:426477)
at Function.simpleDispatch (C:\Users\hodossy\AppData\Local\atom\app-1.44.0\resources\app\static\:11:1212986)
at Emitter.emit (C:\Users\hodossy\AppData\Local\atom\app-1.44.0\resources\app\static\:11:1214427)
at PaneContainer.didAddPaneItem (C:\Users\hodossy\AppData\Local\atom\app-1.44.0\resources\app\static\:11:446613)
at Pane.addItem (C:\Users\hodossy\AppData\Local\atom\app-1.44.0\resources\app\static\:11:459024)
at Pane.activateItem (C:\Users\hodossy\AppData\Local\atom\app-1.44.0\resources\app\static\:11:457887)
at Workspace.open (C:\Users\hodossy\AppData\Local\atom\app-1.44.0\resources\app\static\:11:431601)
```
Guia de contribuição
Direção de pesquisa
The error occurs in lib/color-project.coffee at line 261, where bufferElement.attach is called. Check the Atom API for changes to bufferElement methods, likely due to an Atom update. Look at the surrounding code to understand what bufferElement is expected to be and replace .attach with the correct method. Test by reproducing the error in Atom with the pigments package.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- coffeescript
- Domínio
- desktop
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 70/100