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/04 00:04:24 UTC

[jira] [Commented] (CB-431) CDVDebugConsole.m methods - convert use of "options" object into "arguments" array

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

Shazron Abdullah commented on CB-431:
-------------------------------------

This one seems to be safe, we are still passing in options.
e.g.

{code}
/**
 * Print a normal log message to the console
 * @param {Object|String} message Message or object to print to the console
 */
DebugConsole.prototype.log = function(message, maxDepth) {
    if (this.logLevel <= DebugConsole.INFO_LEVEL)
        exec(null, null, 'Debug Console', 'log',
            [ this.processMessage(message, maxDepth), { logLevel: 'INFO' } ]
        );
    else
        this.winConsole.log(message);
};
{code}

                
> CDVDebugConsole.m methods - convert use of "options" object into "arguments" array 
> -----------------------------------------------------------------------------------
>
>                 Key: CB-431
>                 URL: https://issues.apache.org/jira/browse/CB-431
>             Project: Apache Callback
>          Issue Type: Sub-task
>          Components: iOS
>            Reporter: Shazron Abdullah
>             Fix For: 1.6.0
>
>


--
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