atom-lint icon indicating copy to clipboard operation
atom-lint copied to clipboard

WorkspaceView.Object.defineProperty.get is deprecated. StatusBar

Open atalargo opened this issue 9 years ago • 0 comments

  • Atom version : 0.190.0
  • Atom-lint : 0.20.1

The atom.workspaceView.statusBar global is deprecated. The global was previously being assigned by the status-bar package, but Atom packages should never assign globals.

In the future, this problem will be solved by an inter-package communication API available on atom.services. For now, you can get a reference to the status-bar element via document.querySelector('status-bar').

WorkspaceView.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/node_modules/status-bar/lib/main.js:74:18)
Object.injectLintStatusViewIntoStatusBar (/Users/fruardum/.atom/packages/atom-lint/lib/atom-lint.coffee:74:35)

atalargo avatar Apr 13 '15 12:04 atalargo