You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "_kud (JIRA)" <ji...@apache.org> on 2015/01/15 15:00:37 UTC

[jira] [Commented] (CB-8313) Add an event to say the connection to the server is ready

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

_kud commented on CB-8313:
--------------------------

We should add a weinre.on('ready') method or something like that. Except if you have an existed solution.

> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org