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

Promise.done is deprecated.

Open ghost opened this issue 6 years ago • 0 comments

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

Promise.done (<embedded>:1:721058)
Object.toggle (/Users/brenden/.atom/packages/atom-react-preview/lib/atom-react-preview.coffee:75:10)
HTMLElement.subscriptions.add.atom.commands.add.atom-react-preview:toggle (/Users/brenden/.atom/packages/atom-react-preview/lib/atom-react-preview.coffee:24:26)
CommandRegistry.handleCommandEvent (<embedded>:11:349123)
CommandRegistry.dispatch (<embedded>:11:347598)
AtomEnvironment.dispatchApplicationMenuCommand (<embedded>:1:718718)

ghost avatar Oct 03 '19 18:10 ghost