atom-api-blueprint-preview icon indicating copy to clipboard operation
atom-api-blueprint-preview copied to clipboard

Promise.done is deprecated.

Open webgago opened this issue 8 years ago • 6 comments

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

Promise.done (/Users/anton/Downloads/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1148:5)
Object.addPreviewForEditor (/Users/anton/.atom/packages/api-blueprint-preview/lib/main.coffee:149:48)
Object.toggle (/Users/anton/.atom/packages/api-blueprint-preview/lib/main.coffee:122:21)
atom-workspace.atom.commands.add.api-blueprint-preview:toggle (/Users/anton/.atom/packages/api-blueprint-preview/lib/main.coffee:54:26)
CommandRegistry.handleCommandEvent (/Users/anton/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
<unknown> (/Users/anton/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)

webgago avatar Aug 31 '16 20:08 webgago

I have same issue too

SiminXmas avatar Apr 10 '17 01:04 SiminXmas

+1

joliva-ob avatar May 19 '17 12:05 joliva-ob

+1

ginus avatar Sep 17 '17 12:09 ginus

+1

highman95 avatar Oct 18 '17 08:10 highman95

+1

shaunboyce avatar Jun 01 '18 01:06 shaunboyce

+1

eduardo-felipe avatar Jun 05 '18 14:06 eduardo-felipe