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: [email protected]
For additional commands, e-mail: [email protected]