Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8981610F8D for ; Tue, 30 Jul 2013 18:02:27 +0000 (UTC) Received: (qmail 38513 invoked by uid 500); 30 Jul 2013 18:02:27 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 38348 invoked by uid 500); 30 Jul 2013 18:02:26 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 38297 invoked by uid 99); 30 Jul 2013 18:02:24 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 18:02:24 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A5C9C31AEB6; Tue, 30 Jul 2013 18:02:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mwbrooks@apache.org To: commits@cordova.apache.org Date: Tue, 30 Jul 2013 18:02:28 -0000 Message-Id: In-Reply-To: <70f04a3deea145f985ffe63293cf5572@git.apache.org> References: <70f04a3deea145f985ffe63293cf5572@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [5/5] docs commit: [CB-3818] enable access to battery events; other events enabled by default? [CB-3818] enable access to battery events; other events enabled by default? Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/881d8dcb Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/881d8dcb Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/881d8dcb Branch: refs/heads/master Commit: 881d8dcbdfde789c9d3ed27c9937364dc5f7b17a Parents: 0929908 Author: Mike Sierra Authored: Tue Jul 30 12:42:57 2013 -0400 Committer: Michael Brooks Committed: Tue Jul 30 11:02:15 2013 -0700 ---------------------------------------------------------------------- docs/en/edge/cordova/events/events.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/881d8dcb/docs/en/edge/cordova/events/events.md ---------------------------------------------------------------------- diff --git a/docs/en/edge/cordova/events/events.md b/docs/en/edge/cordova/events/events.md index ac3eb14..62ecb1e 100644 --- a/docs/en/edge/cordova/events/events.md +++ b/docs/en/edge/cordova/events/events.md @@ -43,9 +43,11 @@ Event Types ## Accessing the Feature -As of version 3.0, Cordova implements device-level APIs as _plugins_. -Use the CLI's `plugin` command, described in The Command-line -Interface, to add or remove this feature for a project: +As of version 3.0, Cordova implements battery status and other +device-level APIs as _plugins_. Access to all other events not related +to battery status are enabled by default. Use the CLI's `plugin` +command, described in The Command-line Interface, to enable or disable +battery events: $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status.git $ cordova plugin rm org.apache.cordova.core.battery-status