Closed mikedizon closed 2 years ago
Atom now uses ES6 Promises instead of Q. Call promise.then instead of promise.done
Promise.done (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1214:5) Object.toggle (/Users/mdizon/.atom/packages/preview/lib/preview.coffee:109:10) atom-workspace.atom.commands.add.preview:toggle (/Users/mdizon/.atom/packages/preview/lib/preview.coffee:36:26) CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29) handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59) CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)
why is this still in there? promises have been around for a while now
Is there any update on this?
Atom now uses ES6 Promises instead of Q. Call promise.then instead of promise.done