Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DECB5103FA for ; Thu, 15 Jan 2015 14:15:32 +0000 (UTC) Received: (qmail 34849 invoked by uid 500); 15 Jan 2015 14:15:34 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 34826 invoked by uid 500); 15 Jan 2015 14:15:34 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 34815 invoked by uid 99); 15 Jan 2015 14:15:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2015 14:15:34 +0000 Date: Thu, 15 Jan 2015 14:15:34 +0000 (UTC) From: "_kud (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-8313) Add an event to say the connection to the server is ready MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org