incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <>
Subject [jira] [Commented] (CB-298) DEPRECATE "plugins" and "PhoneGap" global objects in JavaScript implementation
Date Tue, 01 May 2012 19:44:49 GMT


Filip Maj commented on CB-298:

Sorry, I'm confused. I thought we [reverted|;a=blobdiff;f=lib/cordova.js;h=5050f8cb8be92658dbe8049ae9c77f22ab34eedb;hp=d3da4815a69f3312fd8c5c35715df599a059983d;hb=b2bfa321b4b9c952d8977baec786996a745c127d;hpb=cb7a4c7a4a680eccaef768a2e0c6e4631d39fcaf]
the [commit to add deprecation notices|;a=commit;h=b80ff3407ee5de1736b26fd2f82a96c2dd8d34c5]
to all functions (except {{exec}}) because we found that {{exec}} was not defined on the old
{{PhoneGap}} and {{Cordova}} globals?

Although I don't think CB-560 has anything to do with the above two commits. That is, the
last reversion should _not_ fix CB-560.
> DEPRECATE "plugins" and "PhoneGap" global objects in JavaScript implementation
> ------------------------------------------------------------------------------
>                 Key: CB-298
>                 URL:
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: CordovaJS
>    Affects Versions: 1.4.0, 1.5.0, 1.6.0
>            Reporter: Filip Maj
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: api-change, javascript
>             Fix For: 1.7.0
> There are two globals currently defined in Cordova-JS' common platform definition, which
get dropped onto the `window` object: `plugins` and `PhoneGap`.
> Let's slate these for removal.
> In 1.6, let's set up deprecation notices for these.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message