atom-react-preview icon indicating copy to clipboard operation
atom-react-preview copied to clipboard

Promise.done is deprecated.

Open andygreen067 opened this issue 5 years ago • 0 comments

Atom now uses ES6 Promises instead of Q. Call promise.then instead of promise.done

Promise.done (<embedded>:1:725767)
Object.toggle (/Users/leij/.atom/packages/atom-react-preview/lib/atom-react-preview.coffee:75:10)
HTMLElement.subscriptions.add.atom.commands.add.atom-react-preview:toggle (/Users/leij/.atom/packages/atom-react-preview/lib/atom-react-preview.coffee:24:26)
CommandRegistry.handleCommandEvent (<embedded>:11:349290)
CommandRegistry.dispatch (<embedded>:11:347765)
AtomEnvironment.dispatchApplicationMenuCommand (<embedded>:1:723427)

andygreen067 avatar Jun 07 '20 03:06 andygreen067