Open a markdown file, markdown preview opens as expected.
Close the markdown file with cmd+w; markdown preview should close but instead the error happens and markdown preview stays open.
Atom Version: 1.8.0
System: Mac OS X 10.10.5
Thrown From: markdown-preview-opener package, v0.1.1
Stack Trace
Uncaught TypeError: item.getURI is not a function
At /Users/[redacted]/.atom/packages/markdown-preview-opener/lib/markdown-preview-opener.coffee:33
TypeError: item.getURI is not a function
at /Users/[redacted]/.atom/packages/markdown-preview-opener/lib/markdown-preview-opener.coffee:33:48
at /Users/[redacted]/.atom/packages/markdown-preview-opener/lib/markdown-preview-opener.coffee:33:15
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at TextEditor.module.exports.TextEditor.destroyed (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:295:27)
at TextEditor.module.exports.Model.destroy (/Applications/Atom.app/Contents/Resources/app.asar/src/model.js:31:58)
at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:639:18)
at atom-tabs.TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:688:17)
cmd+w
; markdown preview should close but instead the error happens and markdown preview stays open.Atom Version: 1.8.0 System: Mac OS X 10.10.5 Thrown From: markdown-preview-opener package, v0.1.1
Stack Trace
Uncaught TypeError: item.getURI is not a function
Commands
Config
Installed Packages