You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bas Bosman (JIRA)" <ji...@apache.org> on 2014/01/30 23:42:11 UTC

[jira] [Updated] (CB-4819) InAppBrowser.removeEventListener - description of callback parameter

     [ https://issues.apache.org/jira/browse/CB-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bas Bosman updated CB-4819:
---------------------------

    Component/s: Plugin InAppBrowser

> InAppBrowser.removeEventListener - description of callback parameter
> --------------------------------------------------------------------
>
>                 Key: CB-4819
>                 URL: https://issues.apache.org/jira/browse/CB-4819
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs, Plugin InAppBrowser
>    Affects Versions: 2.9.0
>            Reporter: Peter
>            Assignee: Michael Brooks
>            Priority: Minor
>
> The documentation for removeEventListener seems like a cut/paste error from addEventListener.
> http://cordova.apache.org/docs/en/3.0.0/cordova_inappbrowser_inappbrowser.md.html#removeEventListener says:
> {quote}
> *callback:* the function to execute when the event fires. The function is passed an InAppBrowserEvent object.
> {quote}
> It might be better described as something like:
> {quote}
> *callback:* the function to be removed, which was previously registered for this event by addEventListener
> {quote}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)