[
https://issues.apache.org/jira/browse/CB-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254454#comment-13254454
]
Shazron Abdullah commented on CB-516:
-------------------------------------
>From what I can see there is no maxDepth in the function signature:
{code}
function makeStructured(obj, depth) {
// ....
}
{code}
.. that was the original source of the error, but I see from your further
comments you've provided a better solution. If you want to send a pull-request
to cordova-js, please do so, if not I can just patch the code for you.
> ios/console#makeStructured throws EXCEPTION: Can't find variable: maxDepth
> --------------------------------------------------------------------------
>
> Key: CB-516
> URL: https://issues.apache.org/jira/browse/CB-516
> Project: Apache Callback
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: 1.6.0
> Reporter: tribalvibes
> Assignee: Shazron Abdullah
> Fix For: 1.6.1
>
>
> Debug console logging of objects throws EXCEPTION: Can't find variable:
> maxDepth because makeStructured fails to recurse the maxDepth parameter
> correctly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira