[
https://issues.apache.org/jira/browse/CB-8313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14278672#comment-14278672
]
Patrick Mueller commented on CB-8313:
-------------------------------------
I'll need more information. You say "console.log doesn't work. I have no
return". Not sure what that means. Can you provide more detail? I assume you
are not seeing any output in the weinre console.
I'm not sure what the video callback console.log() usage indicates. You see
the console output in weinre in ONLY the case? I don't think the fact that the
console.log() is being called from within a callback should affect the console
functionality.
If you can provide the smallest possible testcase that shows the failures, that
would be great.
> console.log doesn't work well with browserify? troubles with private scope?
> ---------------------------------------------------------------------------
>
> Key: CB-8313
> URL: https://issues.apache.org/jira/browse/CB-8313
> Project: Apache Cordova
> Issue Type: Bug
> Components: weinre
> Environment: MacOSX latest Yosemite, Firefox latest Nightly
> Weinre 2.0.0-pre-I0Z7U9OV
> Reporter: _kud
> Assignee: Patrick Mueller
> Priority: Blocker
>
> As I can see, the project redefines console. Though, when the scope is
> private or/and used with browserify, the console.log doesn't work. I have no
> return.
> Though, if I do:
> ```
> video.addEventListener( 'play', function() {
> console.log( 'hello' )
> })
> ```
> in my code, it seems to work.
> Do you have any idea why?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]