You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Commented) (JIRA)" <ji...@apache.org> on 2012/04/16 00:47:17 UTC

[jira] [Commented] (CB-516) ios/console#makeStructured throws EXCEPTION: Can't find variable: maxDepth

    [ https://issues.apache.org/jira/browse/CB-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254447#comment-13254447 ] 

Shazron Abdullah commented on CB-516:
-------------------------------------

The main issue here is relying on the brittle maxDepth variable which is global and is polluting the global namespace unnecessarily.
                
> 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
>
> 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