fcrespo82 / atom-markdown-table-formatter

A simple markdown plugin to format tables.
MIT License
21 stars 7 forks source link

Atom.Object.defineProperty.get is deprecated. #6

Closed cokelly closed 9 years ago

cokelly commented 9 years ago

I now receive the following warning relating to atom-markdown-table-formatter on Atom (0.174.0) on Arch Linux:

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use `atom.views.getView(atom.workspace)`,
which returns an HTMLElement.

Atom.Object.defineProperty.get (/home/USER/Atom/share/atom/resources/app/src/atom.js:55:11)
Object.activate (/home/USER/packages/markdown-table-formatter/lib/markdown-table-formatter.coffee:170:13)
lierdakil commented 9 years ago

This is fixed by #8. Feel free to test it and comment on it there. You can install dev-version using

git clone --branch api1.0-fixes https://github.com/lierdakil/atom-markdown-table-formatter.git ~/.atom/packages/markdown-table-formatter

You'll first need to uninstall repo version though.

cokelly commented 9 years ago

This works great so far thanks.

fcrespo82 commented 9 years ago

Pushed to main branch and published on Atom