Closed koozz closed 9 years ago
Thanks for noticing this. Did you test the changed version though? It's actually supposed to be atom-workspace
; no dot at the beginning, as it's a tag-name, not a class anymore.
When running Atom, you can quickly fix it locally. With the class ".atom-workspace" it has nothing to complain. Classes in CSS always start with a dot. So I guess it needs to be prefixed with a dot.
Only know that the warning is gone now. :)
It is not a class. atom-workspace is the name of a custom HTML tag, like div
, span
, etc.
document.querySelectorAll(".atom-workspace").length // => 0
document.querySelectorAll("atom-workspace").length // => 1
I would think that with your change, the keybinding would no longer work, because the selector doesn't match anything.
Atom has a built-in "Deprecation cop" which hints about a new selector to use instead of this deprecated one.
Would need a new release though.