mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Include Atom version in deprecation message
This commit is contained in:
@@ -291,7 +291,8 @@ function transformDeprecatedShadowDOMSelectors (css, context) {
|
||||
})
|
||||
let deprecationMessage
|
||||
if (transformedSelectors.length > 0) {
|
||||
deprecationMessage = 'The contents of `atom-text-editor` elements are no longer encapsulated within a shadow DOM boundary. '
|
||||
deprecationMessage = 'Starting from Atom v1.13.0, the contents of `atom-text-editor` elements '
|
||||
deprecationMessage += 'are no longer encapsulated within a shadow DOM boundary. '
|
||||
deprecationMessage += 'This means you should stop using \`:host\` and \`::shadow\` '
|
||||
deprecationMessage += 'pseudo-selectors, and prepend all your syntax selectors with \`syntax--\`. '
|
||||
deprecationMessage += 'To prevent breakage with existing style sheets, Atom will automatically '
|
||||
|
||||
Reference in New Issue
Block a user