You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Peter (JIRA)" <ji...@apache.org> on 2013/08/20 06:35:51 UTC
[jira] [Updated] (CB-4626) Incorrect code for
DirectoryEntry.remove example?
[ https://issues.apache.org/jira/browse/CB-4626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter updated CB-4626:
----------------------
Description:
The File API guide for the DirectoryEntry.remove method says *successCallback* method is _"Invoked with no parameters."_ , yet the Quick Example code in the guide shows a parameter:
{code}
function success(entry) {
console.log("Removal succeeded");
}
{code}
Ref: http://cordova.apache.org/docs/en/2.9.0/cordova_file_file.md.html#DirectoryEntry
was:
The File API guide for the DirectoryEntry.remove method says *successMethod* is _"Invoked with no parameters."_ , yet the Quick Example code in the guide shows a parameter:
{code}
function success(entry) {
console.log("Removal succeeded");
}
{code}
Ref: http://cordova.apache.org/docs/en/2.9.0/cordova_file_file.md.html#DirectoryEntry
> Incorrect code for DirectoryEntry.remove example?
> --------------------------------------------------
>
> Key: CB-4626
> URL: https://issues.apache.org/jira/browse/CB-4626
> Project: Apache Cordova
> Issue Type: Bug
> Components: Docs
> Affects Versions: 2.9.0
> Reporter: Peter
> Assignee: Michael Brooks
> Priority: Trivial
>
> The File API guide for the DirectoryEntry.remove method says *successCallback* method is _"Invoked with no parameters."_ , yet the Quick Example code in the guide shows a parameter:
> {code}
> function success(entry) {
> console.log("Removal succeeded");
> }
> {code}
> Ref: http://cordova.apache.org/docs/en/2.9.0/cordova_file_file.md.html#DirectoryEntry
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira