cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject docs commit: Undoing accidental change.
Date Wed, 11 Nov 2015 02:51:17 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master 507d89b09 -> 8a5bde075


Undoing accidental change.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/8a5bde07
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/8a5bde07
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/8a5bde07

Branch: refs/heads/master
Commit: 8a5bde0751c638ba0509b003a45480bb4101962c
Parents: 507d89b
Author: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Authored: Tue Nov 10 18:51:12 2015 -0800
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Tue Nov 10 18:51:12 2015 -0800

----------------------------------------------------------------------
 www/docs/en/5.4.0/plugin_ref/spec.md | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/8a5bde07/www/docs/en/5.4.0/plugin_ref/spec.md
----------------------------------------------------------------------
diff --git a/www/docs/en/5.4.0/plugin_ref/spec.md b/www/docs/en/5.4.0/plugin_ref/spec.md
index c1002c9..e8a7943 100644
--- a/www/docs/en/5.4.0/plugin_ref/spec.md
+++ b/www/docs/en/5.4.0/plugin_ref/spec.md
@@ -83,7 +83,7 @@ example:
         <engine name="cordova" version="<1.8.1" />
     </engines>
 
-The `<engine>` tags also has default support for all of the main platforms Cordova
exists on. 
+The `<engine>` tags also has default support for all of the main platforms Cordova
exists on.
 Specifying the `cordova` engine tag means that all versions of Cordova on any platform must
 satisfy the engine version attribute. You may also list specific platforms and their versions
 in order to override the catch-all `cordova` engine:
@@ -105,11 +105,11 @@ Here's a list of the default engines that the `<engine>` tag supports:
 * `cordova-wp8`
 * `cordova-windows8`
 * `android-sdk` // returns the highest Android api level installed
-* `apple-xcode` // returns the xcode version 
+* `apple-xcode` // returns the xcode version
 * `apple-ios` // returns the highest iOS version installed
 * `apple-osx` // returns the OSX version
 * `blackberry-ndk` // returns the native blackberry SDK version
-        
+
 Specifying custom Apache Cordova-based frameworks should be listed under the engine tag like
so:
 
     <engines>
@@ -118,18 +118,18 @@ Specifying custom Apache Cordova-based frameworks should be listed under
the eng
         <engine name="even_more_framework" version=">=2.2.0" platform="*" scriptSrc="path_to_even_more_framework_version"/>
     </engines>
 
-A custom Apache Cordova-based framework requires that an engine element includes the following
attributes: 
-`name`, `version`, `scriptSrc`, and `platform`. 
+A custom Apache Cordova-based framework requires that an engine element includes the following
attributes:
+`name`, `version`, `scriptSrc`, and `platform`.
 
-* `name` (required): A human-readable name for your custom framework. 
+* `name` (required): A human-readable name for your custom framework.
 
 * `version` (required): The version that your framework must have in order to install.
 
-* `scriptSrc` (required): The script file that tells plugman what version of the custom framework
is. 
+* `scriptSrc` (required): The script file that tells plugman what version of the custom framework
is.
 Ideally, this file should be within the top level directory of your plugin directory.
 
 * `platform` (required): Which platforms that your framework supports. You may use the wildcard
`*`
-to say supported for all platforms, specify multiple with a pipe character like `android|ios|blackberry10`

+to say supported for all platforms, specify multiple with a pipe character like `android|ios|blackberry10`
 or just a single platform like `android`.
 
 plugman aborts with a non-zero code for any plugin whose target
@@ -190,7 +190,7 @@ Web-only plugins contains mostly `<asset>` elements. Any `<asset>`
 elements that are nested within `<platform>` elements specify
 platform-specific web assets, as described below. Attributes include:
 
-* `src` (required): 
+* `src` (required):
   Where the file or directory is located in the plugin package,
   relative to the `plugin.xml` document.  If a file does not exist at
   the specified `src` location, plugman stops and reverses the
@@ -476,7 +476,7 @@ Examples of using these Windows specific attributes:
         <DeviceCapability Name="webcam" />
     </config-file>
 
-The above example will set pre-8.1 platforms (Windows 8, specifically) to require the `webcam`
device capability and the `picturesLibrary` general capability, and apply the `webcam` device
capability only to Windows 8.1 projects that build for Windows Phone.  Windows desktop 8.1
systems are unmodified. 
+The above example will set pre-8.1 platforms (Windows 8, specifically) to require the `webcam`
device capability and the `picturesLibrary` general capability, and apply the `webcam` device
capability only to Windows 8.1 projects that build for Windows Phone.  Windows desktop 8.1
systems are unmodified.
 
 ## _plugins-plist_ Element
 
@@ -677,11 +677,11 @@ specified as a command-line argument:
 To make the variable mandatory, the `<platform>` tag needs to contain
 a `<preference>` tag. For example:
 
-    <preference name="API_KEY" default="default-value" />
+    <preference name="API_KEY" />
 
 plugman checks that these required preferences are passed in.  If not,
 it should warn the user how to pass the variable in and exit with a
-non-zero code. If the optional `default` attribute is present its value will be used and
no error will be emitted.
+non-zero code.
 
 Certain variable names should be reserved, as listed below.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message