You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michael Romanovsky (JIRA)" <ji...@apache.org> on 2015/01/22 20:33:35 UTC

[jira] [Created] (CB-8353) Clean up some code in the Media plugin.

Michael Romanovsky created CB-8353:
--------------------------------------

             Summary: Clean up some code in the Media plugin.
                 Key: CB-8353
                 URL: https://issues.apache.org/jira/browse/CB-8353
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Plugin Media
            Reporter: Michael Romanovsky
            Priority: Minor


https://github.com/apache/cordova-plugin-media/pull/27

"
The Media API doesn't account for cases where fp.exists() may provide a false negative. (For example, APK expansions...)

Cosmetic: I also did a short-circuit on the first condition, converted to "} else {"s instead of hanging brackets, and fixed the incorrect spacing in the last few lines. (caused probably by the hanging brackets!)
"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org