incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-298) DEPRECATE "plugins" and "PhoneGap" global objects in JavaScript implementation
Date Wed, 28 Mar 2012 21:37:33 GMT

    [ https://issues.apache.org/jira/browse/CB-298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240752#comment-13240752
] 

Patrick Mueller commented on CB-298:
------------------------------------

Indeed - for "marker" type of annotations, what I tend to do is only call the marker once.
 I have a centralized function in weinre that does this, actually, to prevent the same message
from being printed endlessly.  The function takes a 'key', which is fixed at the call site
- in this one it might be "PhoneGap.exec", then the function which does the logging checks
to see if that message has been logged yet.

                
> DEPRECATE "plugins" and "PhoneGap" global objects in JavaScript implementation
> ------------------------------------------------------------------------------
>
>                 Key: CB-298
>                 URL: https://issues.apache.org/jira/browse/CB-298
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: CordovaJS
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Filip Maj
>            Assignee: Simon MacDonald
>            Priority: Minor
>              Labels: api-change, javascript
>             Fix For: 1.6.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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message