31i73 / atom-dbg

An Atom package - An interactive debugger frontend
https://atom.io/packages/dbg
MIT License
30 stars 4 forks source link

atom-text-editor.Object.defineProperty.get is deprecated.; Deprecated selector in `dbg/styles/debug.less` #10

Closed ervinoro closed 7 years ago

ervinoro commented 7 years ago

In dbg/styles/debug.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

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)
Object.installTextEditor (/home/ervion/.atom/packages/dbg/lib/main.coffee:289:42)
<unknown> (/home/ervion/.atom/packages/dbg/lib/main.coffee:220:21)
TextEditor.observeGrammar (/usr/share/atom/resources/app.asar/src/text-editor.js:608:7)
<unknown> (/home/ervion/.atom/packages/dbg/lib/main.coffee:218:60)
Workspace.observeTextEditors (/usr/share/atom/resources/app.asar/src/workspace.js:329:9)
ProPuke commented 7 years ago

Cheers. @vanossj had just fixed this with #9

Updated ver will be coming out shortly.