[
https://issues.apache.org/jira/browse/CB-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471658#comment-13471658
]
Patrick Mueller commented on CB-1585:
-------------------------------------
I took a cue from Jesse and greatly simplified the iOS console, by monkey
patching the original console, only creating a new console object if there
wasn't one already (which I don't think will ever happen on iOS).
In commit:
https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=2033fdc37d23b5aea724accc574eed7587aa9a6c
> 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
> Fix For: 2.2.0
>
>
> 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