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 65FE61895C for ; Mon, 8 Feb 2016 18:14:41 +0000 (UTC) Received: (qmail 118 invoked by uid 500); 8 Feb 2016 18:14:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 99989 invoked by uid 500); 8 Feb 2016 18:14:40 -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 99614 invoked by uid 99); 8 Feb 2016 18:14:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2016 18:14:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8F7052C1F57 for ; Mon, 8 Feb 2016 18:14:40 +0000 (UTC) Date: Mon, 8 Feb 2016 18:14:40 +0000 (UTC) From: "Nikhil Khandelwal (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-10522) Event binding in Hello World is misleading 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-10522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikhil Khandelwal updated CB-10522: ----------------------------------- Labels: triaged (was: ) > Event binding in Hello World is misleading > ------------------------------------------ > > Key: CB-10522 > URL: https://issues.apache.org/jira/browse/CB-10522 > Project: Apache Cordova > Issue Type: Bug > Components: App Hello World > Reporter: Richard B Knoll > Assignee: Sarangan Rajamanickam > Priority: Minor > Labels: triaged > > It is our recommendation that you bind to all of the Cordova events ({{pause}}, {{resume}}, etc.) in your {{deviceready}} callback so as to ensure that cordova.js and all your plugins are done being loaded. This is mentioned in the events guide [in the documentation|http://cordova.apache.org/docs/en/latest/cordova/events/events.pause.html] > However, we include a {{bindEvents}} method in the template which implies that all event binding should happen there. We should probably just remove {{bindEvents}} altogether and add the event listener for {{deviceready}} in the {{initialize}} method since the other events we mention seem to be out of date. We should also add a comment explaining where Cordova related events should be bound to. -- 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