cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorin Beer (JIRA)" <>
Subject [jira] [Commented] (CB-6291) [CLI] Implement dual promise/callback api
Date Tue, 18 Mar 2014 19:50:43 GMT


Lorin Beer commented on CB-6291:

I'm looking into this now. In any case the current api had broken phonegap cli tests by not
obeying callback arguments. I also started by writing failing tests which expected a callback

If that functionality was broken, then I can revert the commits so far.

> [CLI] Implement dual promise/callback api
> -----------------------------------------
>                 Key: CB-6291
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Lorin Beer
>            Assignee: Lorin Beer
>            Priority: Critical
> Master issue to manage the subissues involved in this task.
> in each subtask, the goal is to implement an optional promise/callback interface. If
a callback argument is supplied as the last parameter to a function call which supports this
api, then the callback is used and the function returns null.
> If no callback is supplied, then a promise is returned.
> This upgrade should be non-breaking and backwards compatible.

This message was sent by Atlassian JIRA

View raw message