incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-431) CDVDebugConsole.m methods - convert use of "options" object into "arguments" array
Date Tue, 03 Apr 2012 22:04:24 GMT

    [ 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

        

Mime
View raw message