[
https://issues.apache.org/jira/browse/CB-8313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14278704#comment-14278704
]
_kud commented on CB-8313:
--------------------------
Hahah, yes we have the same idea. :)
But can't you call in your script a non existed function that the user creates?
Like blah blah -> connection done to the server -> call "weinreCb()" where the
user just created before var weinreCb = function() {}?
> Add an event to say the connection to the server is ready
> ---------------------------------------------------------
>
> 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]