incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1585) console.debug, console.info are undefined
Date Fri, 05 Oct 2012 09:39:02 GMT

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

Patrick Mueller commented on CB-1585:
-------------------------------------

Realized there are a few other problems with good ol' DebugConsole:

- the setLevel() stuff isn't really usable, since the constants aren't easily accessible anywhere.
 (maybe in console.constructor or something)

- with real Web Inspector capabilities now, turns out we're removing all that functionality
from the user; we need a different story to allow all the new existing methods to run correctly

Fix is a bit more elaborate, working on it now.
                
> console.debug, console.info are undefined
> -----------------------------------------
>
>                 Key: CB-1585
>                 URL: https://issues.apache.org/jira/browse/CB-1585
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 2.1.0
>         Environment: phonegap-phonegap-2.1.0-0-g26d211b.zip
>            Reporter: Jeffrey Knight
>            Assignee: Patrick Mueller
>            Priority: Critical
>              Labels: javascript
>
> cordova-2.1.0.js 
> Issue: Web app works as expected in browser. Firebug shows console.debug + console.info
messages. Drop app into phonegap and it does not work.
>  
> Cause: console.debug/info are not defined.
> Fix: add debug+info protypes to console:
> https://github.com/jknight/incubator-cordova-js/blob/patch-1/lib/ios/plugin/ios/console.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message