peele / plantuml-preview

Atom package.
MIT License
23 stars 13 forks source link

Promise.done is deprecated. #28

Closed ghost closed 7 years ago

ghost commented 7 years ago

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

Promise.done (/Applications/Productivity/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1214:5)
addPreviewForEditor (/Users/foxd/.atom/packages/plantuml-preview/lib/plantuml-preview.coffee:45:48)
toggle (/Users/foxd/.atom/packages/plantuml-preview/lib/plantuml-preview.coffee:66:14)
atom-workspace.<anonymous> (/Users/foxd/.atom/packages/plantuml-preview/lib/plantuml-preview.coffee:137:16)
CommandRegistry.handleCommandEvent (/Applications/Productivity/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
handleCommandEvent (/Applications/Productivity/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59)
okliv commented 7 years ago

+1

igor-sokolov commented 7 years ago

+1

urbontaitis commented 7 years ago

+1