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 DC90B10A5C for ; Thu, 2 May 2013 16:40:57 +0000 (UTC) Received: (qmail 26932 invoked by uid 500); 2 May 2013 16:40:55 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 26886 invoked by uid 500); 2 May 2013 16:40:55 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 26767 invoked by uid 99); 2 May 2013 16:40:55 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 16:40:55 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E73CC8260C1; Thu, 2 May 2013 16:40:54 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: filmaj@apache.org To: commits@cordova.apache.org Message-Id: <240c6be8950f4658835d786f215ff8ff@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated plugin spec to note that js-module and asset elements can be nested under platform elements. Date: Thu, 2 May 2013 16:40:54 +0000 (UTC) Updated Branches: refs/heads/master 6ae75d2f2 -> e767ec668 updated plugin spec to note that js-module and asset elements can be nested under platform elements. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/e767ec66 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/e767ec66 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/e767ec66 Branch: refs/heads/master Commit: e767ec668bc0446edb5071fb90e6113f4fee2877 Parents: 6ae75d2 Author: Fil Maj Authored: Thu May 2 09:40:51 2013 -0700 Committer: Fil Maj Committed: Thu May 2 09:40:51 2013 -0700 ---------------------------------------------------------------------- README.md | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/e767ec66/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index e7db767..fa68ae9 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ This structure is suggested, but not required. ## plugin.xml Manifest Format -Last edited April 30 2013. +Last edited May 2 2013. The `plugin.xml` file is an XML document in the plugins namespace - `http://apache.org/cordova/ns/plugins/1.0`. It contains a top-level `plugin` @@ -178,9 +178,7 @@ Cordova app's `www` directory. A couple of samples: -All assets tags require both a `src` attribute and a `target` attribute. - -Web-only plugins would contains mainly <asset> elements. +All assets tags require both a `src` attribute and a `target` attribute. Web-only plugins would contains mainly <asset> elements. <asset> elements can also be nested under <platform> elements, to specify platform-specific web assets (see below). #### src (required) @@ -231,6 +229,8 @@ Details for the `` tag: If `src` does not resolve to a file that can be found, plugman will stop/reverse the installation, notify the user of the problem and exit with a non-zero code. +<js-module> elements can also be nested under <platform>, to declare platform-specific JavaScript module bindings. + ### <platform>