abe33 / abe33/atom-color-highlight

atom-text-editor.Object.defineProperty.get is deprecated.

未關閉 適合新手
#109 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。