incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tribalvibes (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-516) ios/console#makeStructured throws EXCEPTION: Can't find variable: maxDepth
Date Sun, 15 Apr 2012 22:53:16 GMT

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

tribalvibes commented on CB-516:
--------------------------------

er,

            if (typeof(obj[i]) == 'object' && maxDepth && (depth||0) <
maxDepth) {
                str += i + ":\n" + indent(makeStructured(obj[i],maxDepth,(depth||0)+1)) +
"\n";

                
> 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

        

Mime
View raw message