shurcooL-legacy / atom-markdown-format

Formats your Markdown text on save.

Home Page:https://atom.io/packages/markdown-format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TextBuffer.on is deprecated.

Jamestt opened this issue · comments

Use TextBuffer::onWillSave instead. A TextBuffer instance is no longer provided as a callback argument.

TextBuffer.on (/opt/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1179:16)
Atom.subscribeWith (/opt/atom/resources/app.asar/node_modules/emissary/lib/subscriber.js:28:32)
Atom.subscribe (/opt/atom/resources/app.asar/node_modules/emissary/lib/subscriber.js:63:21)
MarkdownFormat.handleSave (/home/jamestt/.atom/packages/markdown-format/lib/markdown-format.coffee:13:9)

Duplicate of #18.