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

Promise.done is deprecated.

Open charlie090 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:720523)
Object.toggle (C:\Users\Moving Media\.atom\packages\atom-react-preview\lib\atom-react-preview.coffee:75:10)
HTMLElement.subscriptions.add.atom.commands.add.atom-react-preview:toggle (C:\Users\Moving Media\.atom\packages\atom-react-preview\lib\atom-react-preview.coffee:24:26)
CommandRegistry.handleCommandEvent (<embedded>:11:349922)
CommandRegistry.dispatch (<embedded>:11:348397)
AtomEnvironment.dispatchContextMenuCommand (<embedded>:1:718248)

charlie090 avatar May 20 '19 14:05 charlie090