cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject git commit: updated plugin spec to note that js-module and asset elements can be nested under platform elements.
Date Thu, 02 May 2013 16:40:54 GMT
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 <maj.fil@gmail.com>
Authored: Thu May 2 09:40:51 2013 -0700
Committer: Fil Maj <maj.fil@gmail.com>
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:
     <!-- a directory, also to be copied in the root directory -->
     <asset src="www/foo" target="foo" />
 
-All assets tags require both a `src` attribute and a `target` attribute.
-
-Web-only plugins would contains mainly &lt;asset&gt; elements.
+All assets tags require both a `src` attribute and a `target` attribute. Web-only plugins
would contains mainly &lt;asset&gt; elements. &lt;asset&gt; elements can also
be nested under &lt;platform&gt; elements, to specify platform-specific web assets
(see below).
 
 #### src (required)
 
@@ -231,6 +229,8 @@ Details for the `<js-module>` 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.
 
+&lt;js-module&gt; elements can also be nested under &lt;platform&gt;, to
declare platform-specific JavaScript module bindings.
+
 
 ### &lt;platform&gt;
 


Mime
View raw message