cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Kurdyumov (JIRA)" <>
Subject [jira] [Resolved] (CB-4509) Consistently show codes with constants
Date Fri, 17 Jul 2015 08:03:05 GMT


Andrey Kurdyumov resolved CB-4509.
    Resolution: Fixed

Already in source code

> Consistently show codes with constants
> --------------------------------------
>                 Key: CB-4509
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Docs
>            Reporter: Raymond Camden
>            Assignee: Michael Brooks
>            Priority: Minor
> If you look at the docs for Media,,
you will notice that the first constant documented (mediaStatus) contains the actual code.
Most developers won't ever see the nice constant. All they see is 1, 2, etc. If you go down
the Media doc though you will see that MediaError does *not* document the same. One more guess
that ABORTED, being first, is 0, but it isn't from what I can see in the source code.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message