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

Promise.done is deprecated.

Open mariohaag opened this issue 7 years ago • 0 comments

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

Promise.done (<embedded>:1751:11)
Object.toggle (/home/mahaag/.atom/packages/atom-react-preview/lib/atom-react-preview.coffee:75:10)
HTMLElement.subscriptions.add.atom.commands.add.atom-react-preview:toggle (/home/mahaag/.atom/packages/atom-react-preview/lib/atom-react-preview.coffee:24:26)
CommandRegistry.handleCommandEvent (<embedded>:23521:36)
CommandRegistry.dispatch (<embedded>:23406:23)
AtomEnvironment.dispatchContextMenuCommand (<embedded>:1637:34)

mariohaag avatar Jan 03 '19 15:01 mariohaag