Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Update usage of new Dialogs API#4102

Merged
TomMalbran merged 3 commits intomasterfrom
jasonsanjose/issue-4081
Jun 6, 2013
Merged

Update usage of new Dialogs API#4102
TomMalbran merged 3 commits intomasterfrom
jasonsanjose/issue-4081

Conversation

@jasonsanjose
Copy link
Member

Fix for #4081

  • done() does not chain
  • command handlers should return a promise (update ShellAPI to check for a valid promise)

@TomMalbran
Copy link
Contributor

It looks lie it would be useful for done to return the dialog as proposed in #4087.Thanks for fixing this and sorry for breaking it.

@ghost ghost assigned TomMalbran Jun 6, 2013
@julianasuh
Copy link
Contributor

Open to @TomMalbran

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could now be $dlg = dialog.getElement()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@TomMalbran
Copy link
Contributor

Everything else seems ok, thanks for fixing this.

@jasonsanjose
Copy link
Member Author

@TomMalbran fixes ready

@TomMalbran
Copy link
Contributor

This is working great now. Merging :)

TomMalbran added a commit that referenced this pull request Jun 6, 2013
@TomMalbran TomMalbran merged commit 44af8ae into master Jun 6, 2013
@TomMalbran TomMalbran deleted the jasonsanjose/issue-4081 branch June 6, 2013 22:38
@TomMalbran
Copy link
Contributor

@jasonsanjose Travis sent me an error report after this merge: https://travis-ci.org/adobe/brackets/builds/7857943 but there wasn't any error when I merged, is everything ok or did something broke?

@jasonsanjose
Copy link
Member Author

@TomMalbran We've seen some intermittent issues with travis lately. I'll kick off a new build.

@TomMalbran
Copy link
Contributor

Ok, thanks. Just checking if everything was ok or not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants