abe33 / abe33/atom-color-highlight
atom-text-editor.Object.defineProperty.get is deprecated.
- 主要語言
- CoffeeScript
- 星號
- 80
- 分支
- 8
- PR 合併指標
- 30 天內沒有已合併 PR
描述
The contents of `atom-text-editor` elements are no longer encapsulated
within a shadow DOM boundary. Please, stop using `shadowRoot` and access
the editor contents directly instead.
```
atom-text-editor.Object.defineProperty.get (/usr/share/atom/resources/app.asar/src/text-editor-element.js:68:18)
(/home/nico/.atom/packages/atom-color-highlight/lib/atom-color-highlight-element.coffee:32:46)
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
The deprecation warning points to line 32 in atom-color-highlight-element.coffee, where shadowRoot is accessed. Look at the Atom API changes for text-editor elements, replace the deprecated property with direct access to editor contents. Test by running the package in Atom's dev mode and checking that color highlighting still works without warnings.
由索引模型根據 Issue 內容生成。
評估
- 領域
- desktop
- Issue 類型
- 重構
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 65/100